在使用gem install 。。。的时候增加参数: --no-ri 可以不安装ri部分--no-rdoc 可以不安装rdoc部分 转载于:https://www.cnblogs.com/lizunicon/p/3536398.html