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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Jul 21, 11:19 am, Luma <martin....-hi6Y0CQ0nG0@public.gmane.org> wrote:> ruby script/console webrick > > after 23 seconds: > => Booting WEBrick... > > after 78 seconds: > => Rails application started onhttp://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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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.. On 21 Jul., 12:37, kiranH <kiran.sou...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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. > > On Jul 21, 11:19 am, Luma <martin....-hi6Y0CQ0nG0@public.gmane.org> wrote: > > > ruby script/console webrick > > > after 23 seconds: > > => Booting WEBrick... > > > after 78 seconds: > > => Rails application started onhttp://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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---