From: Tiago Macedo Date: 2008-05-03T02:15:05+09:00 Subject: Re: Apache2 conf and mod_ruby (mac os x 10.4.11) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm guessing you don't have eruby installed: http://wiki.modruby.net/en/?eRubyQuestions Tiago Macedo Une B�vue wrote: | Tiago Macedo wrote: | |> Let me know if I can be of further help. | | right now, *.rbx files are working but not *.rhtml. | | with eruby the Apache2 server complains : | [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) | [Wed Apr 30 16:53:57 2008] [error] mod_ruby: from | /opt/local/lib/ruby/1.8/apache/eruby-run.rb:45 | [Wed Apr 30 16:54:23 2008] [error] mod_ruby: error in ruby | [Wed Apr 30 16:54:23 2008] [error] mod_ruby: (eval):45: (eval):45: | uninitialized constant Apache::ERubyRun (NameError) | [Wed Apr 30 16:54:23 2008] [error] mod_ruby: from (eval):45:in `value' | | | the line 45 of eruby-run.rb being : | | require "eruby" | | i did a test changing this line to the absolute path of eruby, without | any positive effect... | | | even my httpd.conf is slightly different from yours, i had to add : | | Options +ExecCGI | | | in order to get *.rbx files working... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgbS+kACgkQxFuRTtCTMvJdRgCfUfxhCj1b4dBAR2jBzWWZocxv tAIAn1gRtfBrARNQ4/aj83jkXHjJGskp =u2DD -----END PGP SIGNATURE-----