Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
51069: ri and rdoc options removed from gem (rubygems >3) #51177
What does this PR do?
Alters the cli options to the gem command depending on whether rubygems > 3 is installed.
What issues does this PR fix or reference?
For rubygems >3 the gem install command would fail because --no-rdoc or --no-ri have been replaced with the meta --no-document arg.
Also noticed that the --pre option had changed a little too to --pre-release
gem installs correctly with rubygems > 3
Commits signed with GPG?