27
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?

2 Answers 2

46

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
1
  • Note that when installing gems with bundler no documentation is installed by default.
    – Kris
    Commented Aug 14, 2019 at 14:46
-2

Run the below command.

gem install bundler --no-force

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.