Avoid rdoc and ri in gem installations or update
If you don't like use of ri or rdoc when execute gem install or update.
Add this line in .gemrc file
All gem commands
gem: --no-rdoc --no-ri
Only install commands
install: --no-rdoc --no-ri
Only updates commands
update: --no-rdoc --no-ri
Written by Dan Jesus
Related protips
2 Responses
Good tip.
Also it's worth noting that In Rubygems 2.0.0+ --no-document
will be an alternative to --no-ri
/--no-rdoc
over 1 year ago
·
@josephjaber good!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#