Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 11:07:38 -0700
From:      James Earl <james@icionline.ca>
To:        Jonathan Weiss <jw@innerewut.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Ruby 1.8.4 and Rails problems
Message-ID:  <c6bf2550601191007u1c8fa993xe4144a5c5d8fefea@mail.gmail.com>
In-Reply-To: <43CFD2AD.2070501@innerewut.de>
References:  <c6bf2550601190815l606a92d1x11e4388238eb48fd@mail.gmail.com> <43CFD2AD.2070501@innerewut.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/19/06, Jonathan Weiss <jw@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:

=3D> Booting WEBrick...
=3D> Rails application started on http://0.0.0.0:3000
=3D> 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=3D24451 port=3D3=
000
/usr/local/lib/ruby/1.8/timeout.rb:59: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [i386-freebsd6]

Abort (core dumped)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c6bf2550601191007u1c8fa993xe4144a5c5d8fefea>