Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 19:32:27 +0100
From:      Alexander Wittig <alexander@wittig.name>
To:        ports@freebsd.org
Subject:   Re: Ruby 1.8.4 and Rails problems
Message-ID:  <43CFDB3B.90303@wittig.name>
In-Reply-To: <c6bf2550601191007u1c8fa993xe4144a5c5d8fefea@mail.gmail.com>
References:  <c6bf2550601190815l606a92d1x11e4388238eb48fd@mail.gmail.com>	<43CFD2AD.2070501@innerewut.de> <c6bf2550601191007u1c8fa993xe4144a5c5d8fefea@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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)
>   

When I submitted the initial update patch I made sure at least basic 
RubyOnRails works. Now I checked again but I cannot reproduce your 
problem. I did the following:

[alex@hotzenplotz:~]rails rails
      create 
      [...]
      create  log/test.log
[alex@hotzenplotz:~]cd rails
[alex@hotzenplotz:~/rails]ruby script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options

Now I can view localhost:3000 with my browser. The application 
environment reported by the greetings page is:
Ruby version    1.8.4 (i386-freebsd6)
RubyGems version    0.8.11
Rails version    1.0.0
Active Record version    1.13.2
Action Pack version    1.11.2
Action Web Service version    1.0.0
Action Mailer version    1.1.5
Active Support version    1.2.5
Application root    /usr/home/alex/rails
Environment    development
Database adapter    mysql

Are you sure you're using the current rails port (rails 1.0.0)?

Alex



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