I\'m using rails Version 3.0.3 and ruby Version 1.9.2p136 (2010-12-15) on a Intel Core 2 Duo 2,6 Ghz with 4 GB Ram and Windows Vista Business SP2 with no other (heavy) appli
More than likely, it's anti-virus affecting it. That combined with Vista's speed issues are probably affecting it. I agree with Justice, run Linux in a VM.
There are a few key points that combined generate the slow performance you're noticing.
stat()
calls per file been required, which can increase the slowdown of Ruby itself. This is not present in Ruby 1.8.6 or 1.8.7. This is also solved in Ruby 1.9.3 (trunk) not released yet.Now, there are workaround to that, some simple and some complex ones.
Hope some of these options help you.
For a speedup you could try my loader speeder upper (helps rails run faster in Windows): https://github.com/rdp/faster_require
Also checkout spork, which works in Windows, and jruby also works well.
you can try playing with ruby's garbage collecter to make ruby faster, since the defaults variable settings don't match how windows work
also Garbage collector performance tuning
It is faster to use Ruby inside an Ubuntu Virtual Machine than using it directly with Windows.
A good option is to use Vagrant: You develop on your Windows IDE, and files are "shared" with the Ubuntu VM, you run "vagrant ssh", then run "rails server", or any other command you'd like to run. There are other benefits as well:
Take a look: http://www.vagrantup.com/