deb deb - 1 year ago 88
Ruby Question

Using --no-rdoc and --no-ri with bundler

When using

gem install gem_name
I can pass
switches to skip generating RDoc/RI documentation for the gem on install.

Is there a similar way to do this with
bundle install

Answer Source

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)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download