Reputation: 203
OSX Mavericks, trying to upgrade from Rails 4.0.4 to either 4.1.0.beta1 or 4.1.0.rc2 with ruby version ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0].
In both instances (beta1 and rc1 builds), Terminal gets stuck at Installing ri documentation for rails-4.1.0.rc2
and I have to quit the process (command + > ).
Any suggestions?
Upvotes: 20
Views: 10764
Reputation: 1711
This has happened to me a few times. I believe it is a known issue which has never been resolved properly.
Simply install the gem without the documentation, if you don't mind, like the other answer suggests.
gem install rails --no-ri --no-rdoc
UPDATE (2020-04-29)
The new way of generating no documentation is adding the --no-document (in short -N)
option, like so:
gem install rails --no-document # or -N in short
Upvotes: 22
Reputation: 346
Are you sure it's stuck? The documentation takes ages to install (upwards of 4 mins even on a high end MBPr). You could also install the rails gem without documentation using:
gem install --no-ri --no-rdoc rails
Upvotes: 11