For test projects I have been using the following command to install rails in a clean directory much more quickly as it installs without documentation or the Ruby ri tool:

gem install rails --no-ri --no-rdoc