Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby-fcgi problem on freebsd

Reply
Thread Tools

ruby-fcgi problem on freebsd

 
 
Carl Youngblood
Guest
Posts: n/a
 
      10-18-2003
I'm having a problem trying to set up a ruby-fcgi web site on my virtual
server, which runs freebsd (4.5). Apparently, the freebsd setup that
I'm using has both Ruby 1.6 and Ruby 1.8 installed because some of the
server maintenance scripts depend on Ruby 1.6 and then I installed Ruby
1.8. I used the standard freebsd stable packages to do this and both
versions seem to run fine. Right now /usr/local/bin/ruby points to ruby
1.6 and I have to explicitly call ruby18 to get ruby1.8.

So I has some trouble trying to get the freebsd ruby-fcgi packages to
link to ruby 1.8, so I just figured I would try to get it working with
ruby 1.6, since the fcg packages seemed to install okay. Anyway, when I
try to run a simple test script from the command line that works fine on
my home machine, I get a weird error:

../controller.rb:20: undefined method `each_cgi' for FCGI:Class (NameError)

I have never seen this before and I know that each_cgi is a method of
the FCGI class. Anybody have any idea what's wrong? If anybody has any
experience working with this freebsd dual-version setup that would be
helpful too.

Thanks,
Carl Youngblood

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing Python 2.4.3 on FreeBSD 5.3-RELEASE-p31 james@uh-hosting.co.uk Python 4 08-22-2006 01:48 PM
freebsd thread problem Dorian Mcfarland Python 2 04-24-2006 05:19 PM
Freebsd thread/signal problem snacktime Python 0 02-09-2005 07:38 PM
FreeBSD Application/Network Problem Llewellyn Angus Computer Support 3 07-21-2004 03:47 AM
Problem with Ruby 1.8.1 on FreeBSD 3.2 ppi@amug.org Ruby 2 01-26-2004 12:20 AM



Advertisments