I’m (brand) new to Ruby, so treat my questions in that light. On trying
to install Beast (web forum software on Rails) I am required to test
that requiring fcgi, or fcgi.so returns true from within irb.
irb(main):001:0> require fcgi.so
NameError: undefined local variable or method `fcgi’ for main:Object
I guessed that there may be an issue with paths, so tried the full path
to the lib.
SyntaxError: compile error
(irb):2: unknown regexp options - lb
(irb):2: no . floating literal anymore; put 0 before dot
(irb):2: parse error, unexpected tINTEGER
The above has worked before (ie. using the full path), giving the output
I have two questions.
- How do I configure things so that I don’t have to specify the full
path to a lib.
- How do I resolve the above error? Should I be speaking to the
OS slackware linux
ruby fcgi 0.8.7