From: Tiago Macedo Date: 2008-05-06T04:51:06+09:00 Subject: Re: Apache2 conf and mod_ruby (mac os x 10.4.11) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Honestly I don't know what's wrong, there is already a thread in ruby-talk about the exact same issue with erubis and I'm not sure they found a solution. Tiago Macedo Une B�vue wrote: | Tiago Macedo wrote: | |> I don't, I use linux but you need the library and for some reason you |> don't have it. | | no, no, i have it, i'm sure about that. | and it works (ie. eruby under mod_ruby) | what surprised me is that : it was already installed but didn't work, | i've re-installed (same version) it and now it works... | | it remains to me to get erubis working... | | here i get a security error (proving that way that both eruby and erubis | are installed and working): | [Mon May 05 17:42:06 2008] [error] mod_ruby: error in ruby | [Mon May 05 17:42:06 2008] [error] mod_ruby: | /opt/local/lib/ruby/gems/1.8/gems/erubis-2.4.1/lib/erubis/evaluator.rb:6 | 2:in `eval': Insecure operation - eval (SecurityError) | [Mon May 05 17:42:06 2008] [error] mod_ruby: from | /opt/local/lib/ruby/gems/1.8/gems/erubis-2.4.1/lib/erubis/evaluator.rb:6 | 2:in `result' | [Mon May 05 17:42:06 2008] [error] mod_ruby: from | /Users/yt/Sites/erubis/example3.rbx:15 | [Mon May 05 17:42:06 2008] [error] mod_ruby: from | /opt/local/lib/ruby/1.8/apache/ruby-run.rb:53:in `load' | [Mon May 05 17:42:06 2008] [error] mod_ruby: from | /opt/local/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler' | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgfZQEACgkQxFuRTtCTMvJTRACdGGfmyeoeRHHiAk/MkFwgR2e0 uNQAni3YL1Kk3AI6ejqUGASrKw8VE6iW =6yQL -----END PGP SIGNATURE-----