问题描述
我有两台Ubuntu和Debian的机器。
我在每台机器上安装了RVM,并安装了最新的稳定ruby。但是,当我试图让
gem install rails
gem开始安装所有gems并停止在为rails-4.0.2安装ri文档。
我做错了什么?谢谢
无论如何,要禁用或安装的问题,在中添加以下文件到您的个人文件夹中格式:
〜/ .gemrc
---
gem:--no-ri --no-rdoc
详细信息:true
backtrace:true
$ b 注意: verbose
和 backtrace
是有用的,但可选的参数。
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
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.
这篇关于为rails-4.0.2长时间安装ri文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!