Search code examples
rubyrubygemsbundler

What to use instead of --no-ri for gem install?


gem update --system
gem install xxxx --no-ri --no-rdoc

gives: invalid option: --no-ri and invalid option: --no-rdoc, what is the new command line option?


Solution

  • The new option is --no-document or -N.

    From gem help install:

      Deprecated Options:
            --[no-]rdoc                  Generate RDoc for installed gems
                                         Use --document instead
            --[no-]ri                    Generate ri data for installed gems.
                                         Use --document instead