Terminal stuck on installing ri documentation for

2019-06-15 08:08发布

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?

2条回答
唯我独甜
2楼-- · 2019-06-15 08:31

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
查看更多
混吃等死
3楼-- · 2019-06-15 08:39

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

查看更多
登录 后发表回答