Hi, I was just wondering if this was normal or not. I was running ruby 1.8.7 with rails 3 - rc. (Currently trying 1.9.2- rc2 but the same problem) It takes rails a while to load. (a while as in 10-15 seconds) It will take a while before I can use the console , or before running a test or starting up the server. This doesn''t seem normal to me when I watch some screencasts. If this is not normal behaviour, how can I figure out the source of the problem? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> This doesn''t seem normal to me when I watch some screencasts. > If this is not normal behaviour, how can I figure out the source of > the problem?Maybe they edited their videos to prevent wasting time watching rails load? -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
That did cross my mind, but I was just wondering though. Mostly because it didn''t look as though the transition from running the command to the actual test running wasn''t edited. But oh well. On Aug 4, 2:54 pm, Fernando Perez <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> > This doesn''t seem normal to me when I watch some screencasts. > > If this is not normal behaviour, how can I figure out the source of > > the problem? > > Maybe they edited their videos to prevent wasting time watching rails > load? > -- > Posted viahttp://www.ruby-forum.com/.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
For comparison, from typing script/server to having a running instance of mongrel hosting out a rails app on my machine takes ~2 seconds. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Well on my Dual Core MacMini running Ruby 1.8.7 and Rails 2.3.2 going from "ruby script/console" to getting the prompt takes around 9 seconds. This delay seems to be manifest across all the rails tasks. "rake test" seems to take an age to get running, between 3 to 5 seconds before it starts to event set up the test. In production this is not a problem as the application very rarely has to restart, but it is a bit of a pig for testing. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, can you tell us what is your OS ? MS-Windows ruby VM is VERY much slower than Nix or OSX ones... you can also try to use the Thin server instead of Mongrel : http://code.macournoyer.com/thin/ It''s very simple : "gem install thin" "thin start" from your project folder let us know :) On 5 août, 10:36, Peter Hickman <peterhickman...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Well on my Dual Core MacMini running Ruby 1.8.7 and Rails 2.3.2 going > from "ruby script/console" to getting the prompt takes around 9 > seconds. > > This delay seems to be manifest across all the rails tasks. "rake > test" seems to take an age to get running, between 3 to 5 seconds > before it starts to event set up the test. > > In production this is not a problem as the application very rarely has > to restart, but it is a bit of a pig for testing.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
The MacMini runs OSX -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Eric Yen wrote:> > This doesn''t seem normal to me when I watch some screencasts. > If this is not normal behaviour, how can I figure out the source of > the problem?It may simply be your hardware/OS combination... At work, an Ubuntu VM on top of Win7, 1 core of a Core2Duo, 2.5GHz, 1 GB RAM allocated, ruby 1.8.7, rails 2.3.8; starts up in about 4 seconds Same machine, Windows 7 Enterprise, the other core, same ruby and rails and app; starts in about 7 seconds (ruby + windows = yuck) At home, Ubuntu 10.04 on a Phenom II X4 940, 8GB RAM, same ruby and rails and app, its about 2 seconds. As always, YMMV. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.