As gem help install
states:
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options] ... Install/Update Options: ... --[no-]document [TYPES] Generate documentation for installed gems List the documentation types you wish to generate. For example: rdoc,ri -N, --no-document Disable documentation generation
In short:
--no-rdoc
is now--no-document rdoc
--no-ri
is now--no-document ri
.You can prevent both from installing with either
--no-document
or-N
.
(Unfortunately as of this writing the documentation on Rubygems.org is currently out-of-date, so ignore that for now.)