<br clear="all">i've upgraded Apache2 two days ago, but mod-ruby is only working with ruby, as cgi, but not with eruby.<br><br>i get the following error :<br>[Wed Apr 30 16:52:49 2008] [error] mod_ruby: from /opt/local/lib/ruby/1.8/apache/eruby-run.rb:45<br>
[Wed Apr 30 16:52:49 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations<br>[Wed Apr 30 16:53:57 2008] [error] mod_ruby: failed to require apache/eruby-run<br>
[Wed Apr 30 16:53:57 2008] [error] mod_ruby: error in ruby<br>[Wed Apr 30 16:53:57 2008] [error] mod_ruby: /opt/local/lib/ruby/1.8/apache/eruby-run.rb:45:in `require': no such file to load -- eruby (LoadError)<br><br>
<br>the line 45 being :<br><br>require 'eruby'<br><br>then, i've tried to change it to the absolute path of eruby (ie. /opt/local/bin/eruby) without any effect.<br><br>i should mention eruby is working well from command line and i've verified the symlink :<br>
~%> ls -al /opt/local/apache2/cgi-bin/eruby<br>lrwxr-xr-x 1 root admin 20 28 avr 11:50 /opt/local/apache2/cgi-bin/eruby -> /opt/local/bin/eruby<br><br>someone else had this kind of prob ?<br><br><br>-- <br>yvon