Long installing ri documentation for rails-4.0.2

2019-07-12 13:44发布

问题:

I'm have two machines with Ubuntu and Debian. I installed RVM on every machines, and installed latest stable ruby. But when i'm trying make gem install rails gem starting install all gems and stopping on "Installing ri documentation for rails-4.0.2". What i'm doing wrong? Thank you

回答1:

It is good that it installs all dependency gems first, but strange that halts. How much time the installation of ri get?

Anyway, to disable ri or rdoc installation, add the following file inside of your home folder in yaml format:

~/.gemrc

---
gem: --no-ri --no-rdoc
verbose: true
backtrace: true

NOTE: The verbose and backtrace are useful, but optional parameters.



标签: ruby gem rvm