03
Dec
2008
Skiping installation of ri and RDoc documentation while installing gems
Probably most of the time you would like to skip ri and RDoc installation while installing some new gems, specially on production server.
I do like to skip ri and RDoc documentation while installing gems on my development machine, because it takes more time to generate ri and RDoc then actual installation of gem.
We can skip rdoc and ri documentation while installing a gem by:
I am sure that you would not like to give –no-ri and –no-rdoc every time you install a gem. To avoid this situation, you can create/update $HOME/.gemrc file with following option:
Now every time you install a gem, it will skip installation of ri and RDoc for the gem.
My .gemrc file looks like:
-
kesor


Working with Vinsol has been one of the most rewarding and productive collaborations I've ever had in the technology industry. Manik is an intelligent and honest engineer with a great faculty for open and clear communication, and his team include some of the swiftest and keenest developers I've ever had the pleasure to work with. They're great value for money, excellent people who are a joy to know and interact with, and above all they really know their stuff