i've upgraded Apache2 two days ago, but mod-ruby is only working with ruby, as cgi, but not with eruby.
i get the following error : [Wed Apr 30 16:52:49 2008] [error] mod_ruby: from /opt/local/lib/ruby/1.8/apache/eruby-run.rb:45 [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 [Wed Apr 30 16:53:57 2008] [error] mod_ruby: failed to require apache/eruby-run [Wed Apr 30 16:53:57 2008] [error] mod_ruby: error in ruby [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) the line 45 being : require 'eruby' then, i've tried to change it to the absolute path of eruby (ie. /opt/local/bin/eruby) without any effect. i should mention eruby is working well from command line and i've verified the symlink : ~%> ls -al /opt/local/apache2/cgi-bin/eruby lrwxr-xr-x 1 root admin 20 28 avr 11:50 /opt/local/apache2/cgi-bin/eruby -> /opt/local/bin/eruby someone else had this kind of prob ? -- yvon
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users