Invalid option `--no-ri` for gem install in documentation

  • Documents Feature A
  • Follow-up from: #XXX, !YYY

New doc or update?

  • New documentation
  • Update existing documentation

Checklists

Product Manager

  • Add the correct labels
  • Add the correct milestone
  • Indicate the correct document/directory for this feature
  • Fill the doc blurb below

Documentation blurb

Running with gitlab-runner 11.5.0 (3afdaba6)
  on docker-auto-scale fa6cab46
Using Docker executor with image ruby:2.5 ...
Pulling docker image ruby:2.5 ...
Using docker image sha256:1a5fef068a300b404acc642caabfba6abb0c09329c0f28994a08deb90f2f59e9 for ruby:2.5 ...
Running on runner-fa6cab46-project-8783876-concurrent-0 via runner-fa6cab46-srm-1545845724-ad31e523...
Cloning repository...
Skipping Git submodules setup
$ ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
$ gem install bundler  --no-ri --no-rdoc
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
ERROR: Job failed: exit code 1

Developer

  • Copy the doc blurb above and paste it into the doc
  • Write the tutorial - explain how to use the feature
  • Submit the MR using the appropriate MR description template