Today when I try to start the server, 'ruby -dv rwiki.rb', I get the
same error messages:
ruby 1.6.8 (2002-12-24) [i686-linux]
Exception `NameError' at
/usr/local/lib/ruby/site_ruby/1.6/racc/parser.rb:24 - uninitialized
constant Object::ParseError
/usr/local/lib/ruby/site_ruby/1.6/rd/visitor.rb:78: warning: method
redefined; discarding old visit_Reference
Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:101 - No such file or
directory -
"../rd/info.rd"
Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:103 - No such file or
directory -
"../rd/info"
Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:91 - No such file or
directory - "../rd/info.rd"
Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:93 - No such file or
directory - "../rd/info"
[These messages repeated several times.]
----
Following your question, I ignored the messages and tried to start CGI,
'http://localhost/cgi-bin/rw-cgi.rb'
Hmm, when I try to load rw-cgi.rb into my web browser, I get the
following error message:
The server encountered an internal error and was unable to complete
your request.
Error message:
Premature end of script headers: rw-cgi.rb
----
So, something works; it just does NOT work well enough.
I would appreciate your advice.
Masatoshi SEKI wrote:
> Hi,
>
>> I still get an error message:
>> ruby 1.6.8 (2002-12-24) [i686-linux]
>> Exception `NameError' at
>> /usr/local/lib/ruby/site_ruby/1.6/racc/parser.rb:24 - uninitialized
>> constant Object::ParseError
>> /usr/local/lib/ruby/site_ruby/1.6/rd/visitor.rb:78: warning: method
>> redefined; discarding old visit_Reference
>> Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:101 - No such file or
>> directory -
>> "../rd/info.rd"
>> Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:103 - No such file or
>> directory -
>> "../rd/info"
>> Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:91 - No such file or
>> directory - "../rd/info.rd"
>> Exception `Errno::ENOENT' at ./rwiki/rwiki.rb:93 - No such file or
>> directory - "../rd/info"
>
>
> It seems that the server has started.
> Can you access your rw-cgi.rb page?
>
>