Ruby 1.8.4 and Rails problems

James Earl james at icionline.ca
Thu Jan 19 10:07:41 PST 2006


On 1/19/06, Jonathan Weiss <jw at innerewut.de> wrote:
> James Earl wrote:
> > Hi,
> >
> > I'm having some problems with Ruby 1.8.4, Rails and Apache 1.3.34 with
> > FreeBSD 6.0.
>
> I'm running 6.0 with Lighttpd and Rails 1.0 and it works (besides some
> minor issues).
>
> Do you changed the path to ruby in public/dispatch.(f)cgi from
> /usr/bin/ruby to /usr/bin/env ruby?
>
> Jonathan

dispatch.(f)cgi contain /usr/local/bin/ruby18 which should work.

I just tried to run webrick on a clean rails application, and as soon
as I try to access localhost:3000, ruby core dumps:

=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-01-19 11:07:00] INFO  WEBrick 1.3.1
[2006-01-19 11:07:00] INFO  ruby 1.8.4 (2005-12-24) [i386-freebsd6]
[2006-01-19 11:07:00] INFO  WEBrick::HTTPServer#start: pid=24451 port=3000
/usr/local/lib/ruby/1.8/timeout.rb:59: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-freebsd6]

Abort (core dumped)


More information about the freebsd-ports mailing list