ERb under mod_ruby: SecurityError

Kevin Bullock <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hello * —

I just tried setting up ERb 2.0.4 under mod_ruby 1.2.0, and I'm seeing 
the following error:

[Sat Jun 19 00:49:36 2004] [error] mod_ruby: error in ruby
/usr/local/stow/ruby-1.8.1/lib/ruby/1.8/apache/erb-run.rb:141:in 
`eval': Insecure operation - eval (SecurityError)
         from 
/usr/local/stow/ruby-1.8.1/lib/ruby/1.8/apache/erb-run.rb:141:in `run'
         from 
/usr/local/stow/ruby-1.8.1/lib/ruby/1.8/apache/erb-run.rb:108:in 
`handler'

Does anyone know of a fix for this? I'm a bit wary of erb using eval to 
execute the code, but I don't know how else it could do what it does...

Pacem in terris / Mir / Shanti / Salaam / Heiwa
Kevin R. Bullock
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.