cgi error 1.8.p4

  • Thread starter George Moschovitis
  • Start date
G

George Moschovitis

Hi there, i got the following error using preview4:

/usr/local/lib/ruby/1.8/cgi.rb:804:in `initialize': superclass method
`initialize' must be enabled by rb_enable_super() (NameError)
from /usr/local/lib/ruby/1.8/cgi.rb:804:in `new'
from /usr/local/lib/ruby/1.8/cgi.rb:804:in `read_multipart'
from /home/gmosx/dev/n2/web/server/request.rb:263:in
`parse_parameters'
from /home/gmosx/dev/n2/web/server/request.rb:232:in
`initialize_from_apache'
from /home/gmosx/dev/n2/web/server/modruby-adapter.rb:123:in
`handler'

any idea what this is?

George Moschovitis
 
G

George Moschovitis

Can you try
svg% ruby -vrstringio -e 'p StringIO.new'
ruby 1.8.0 (2003-06-23) [i686-linux]
#<StringIO:0x4009a68c>

yeap, i got the following:

gmosx@sith:~/dev/n1> ruby -vrstringio -e 'p StringIO.new'
ruby 1.8.0 (2003-07-31) [i686-linux]
#<StringIO:0x401d4a70>
gmosx@sith:~/dev/n1> ruby -v
ruby 1.8.0 (2003-07-31) [i686-linux]

seems ok to me, any idea?

George Moschovitis
 
T

ts

G> gmosx@sith:~/dev/n1> ruby -vrstringio -e 'p StringIO.new'
G> ruby 1.8.0 (2003-07-31) [i686-linux]
G> #<StringIO:0x401d4a70>

Well, the error was given when it tried to create a new StringIO : I don't
see why your cgi can give an error


Guy Decoux
 
D

Dr AK

ts said:
G> gmosx@sith:~/dev/n1> ruby -vrstringio -e 'p StringIO.new'
G> ruby 1.8.0 (2003-07-31) [i686-linux]
G> #<StringIO:0x401d4a70>

Well, the error was given when it tried to create a new StringIO : I don't
see why your cgi can give an error
Guy Decoux

Guy, thanx for your hint! Problem solved - mod_ruby had to be
recompiled - it was compiled with pre-release 3, whereas pre-release 6
had been installed afterwards...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top