I use \\curl -sSL https://get.rvm.io | bash -s stable --rails
\\curl -sSL https://get.rvm.io | bash -s stable --rails
to quicky install the latest ruby and rails. But it takes nearly ten minutes for the command to complete and a lot of time is spent generating ri/rdoc documentation. Is there a way to skip the while documentation generation.
When a gem gets installed - as is the case when you're installing the Rails gem and all of its dependent gems - all documentation will get generated, as you know. You can set the defaults for installing gems via a .gemrc
file in your home directory, add:
gem: --no-document
to the file ~/.gemrc
. And then all of your gems will skip doc generation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.