Long installing ri documentation for rails-4.0.2

帅比萌擦擦* 提交于 2019-12-11 03:44:58

问题


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.



来源:https://stackoverflow.com/questions/21501251/long-installing-ri-documentation-for-rails-4-0-2

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!