Using --no-rdoc and --no-ri with bundler
Make a file ~/.gemrc
and put this in it:
gem: --no-rdoc --no-ri
That should make it apply whenever you run the gem
command. (Even from bundle install
)
Bundler doesn't include rdoc and ri. There is nothing you need to do.