Webrick needs 80 seconds for starting

ruby script/console webrick

after 23 seconds:
=> Booting WEBrick…

after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000

Probably, it’s silly, but I have no idea why it takes so long, both on
win xp and vista. I have 30 db-tables, 100 migrations, and 20000 lines
of code. Clearing development.log didn’t help.

Luma

Notice that mongrel binds to 0.0.0.0 . This does work. But it is very
slow, so try changing it to bind to 127.0.0.1

ruby script\server -b 127.0.0.1

Thanks
Kiran.

sorry I was wrong, it’s not a webrick problem.

“rake db:migrate” and “rake test” also need so much time. But irb
works well.

It’s like
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/e5bae025c6fc49c1/72ecc5e3955f36a5?lnk=gst&q=rails+slow#72ecc5e3955f36a5

hm I think it won’t get faster…