Ruby 1.8.4 and Rails problems
Alexander Wittig
alexander at wittig.name
Thu Jan 19 10:30:25 PST 2006
> 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 at hotzenplotz:~]rails rails
create
[...]
create log/test.log
[alex at hotzenplotz:~]cd rails
[alex at 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
More information about the freebsd-ports
mailing list