使用什么代替 --no-ri 进行 gem 安装?

Kri*_*ris 15 ruby rubygems bundler

gem update --system
gem install xxxx --no-ri --no-rdoc
Run Code Online (Sandbox Code Playgroud)

给出:invalid option: --no-riinvalid option: --no-rdoc,新的命令行选项是什么?

Kri*_*ris 26

新的选项--no-document-N

来自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
Run Code Online (Sandbox Code Playgroud)