Internal server error in apache2

[email protected]
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

I installed eruby and mod_ruby today. I tryed the example from modruby
page, but apache returned me an internal error.

The exaple can be found here

http://www.rubydoc.org/books/modruby/modruby.html#AEN200

And this is from my error_log

[Wed Jun 23 00:31:34 2004] [error] mod_ruby: error in ruby

/web/root/test.rhtml:3: undefined method `param' for #<CGI:0x41ae0dbc>
(NoMethodError)
	from (eval):0
	 from /usr/lib/ruby/1.8/apache/eruby-run.rb:114:in `eval_string_wrap'
	 from /usr/lib/ruby/1.8/apache/eruby-run.rb:114:in `run'
	 from /usr/lib/ruby/1.8/apache/eruby-run.rb:72:in `handler'

I have mod_ruby 1.1.3 and eruby 1.0.5


Does anybody have an idea what is wrong?

-- 
Michal "Mithrandir" Koudelka
 
JABBER: [email protected]
ICQ:    192421460
YAHOO:  mithrandir2003cz
MSN:    [email protected]
 
I consider a new device or technology to have been culturally accepted when
it has been used to commit a murder.
		-- M. Gallaher
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.