https://rvm.beginrescueend.com/gemsets/basics/
If you are deploying to a server, or you do not want to wait around for rdoc and ri to install for each gem, you can disable them for gem installs and updates. Just add these two lines to your ~/.gemrc or /etc/gemrc:
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
不知道这个能不能帮到你!