cgi error 1.8.p4

Discussion in 'Ruby' started by George Moschovitis, Aug 1, 2003.

  1. 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
     
    George Moschovitis, Aug 1, 2003
    #1
    1. Advertising

  2. > 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
     
    George Moschovitis, Aug 3, 2003
    #2
    1. Advertising

  3. George Moschovitis

    ts Guest

    >>>>> "G" == George Moschovitis <> writes:

    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
     
    ts, Aug 4, 2003
    #3
  4. George Moschovitis

    Dr AK Guest

    ts <> wrote in message news:<>...
    > >>>>> "G" == George Moschovitis <> writes:

    >
    > 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...

    --
    drak @ navel.gr
     
    Dr AK, Aug 4, 2003
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jürgen Exner

    Re: CGI Perl "use CGI" statement fail

    Jürgen Exner, Jul 31, 2003, in forum: Perl
    Replies:
    0
    Views:
    1,513
    Jürgen Exner
    Jul 31, 2003
  2. Shailan
    Replies:
    2
    Views:
    1,096
    Shailan
    Dec 15, 2003
  3. John Smith
    Replies:
    0
    Views:
    3,189
    John Smith
    May 15, 2006
  4. LarsenMTL
    Replies:
    4
    Views:
    799
    Eric Walstad
    Nov 4, 2004
  5. Stefan Fischer
    Replies:
    2
    Views:
    315
    Stefan Fischer
    Feb 23, 2010
Loading...

Share This Page