Rails Takes Ten Seconds (!)

Alex Chaffee alex at stinky.com
Tue Jan 17 18:36:54 EST 2012

I'm teaching a class right now and I have a room full of students.
Half of them are on Macs and the other half are on Windows and used
RailsInstaller (latest version, downloaded this morning) to install on
fresh systems. Whenever the Windows users type any rails command from
the terminal -- including "rails -v" -- there is a 10 second delay
before anything starts happening. Same with "gem -v" (though some
students say "gem -v" takes 3-4 seconds), though "ruby -v" returns

The Mac users, of couse, are experiencing no such delays; the Windows
users are learning that Ruby is slow :-)

Is this a known issue? Is there anything we can do about it? It is
*seriously* impeding flow.

We are using rails 3.1.1 and gem 1.7.2 which are the versions
Railsinstaller installed.

If we hit control-C during the pause we get a stack trace somewhere
inside the gem require library, e.g. custom_require.rb:36 (which calls
gem_original_require). Could rubygems be hitting the network or timing
out for some reason?

Alex Chaffee - alex at stinky.com

More information about the RubyGems-Developers mailing list