diff options
author | David RodrÃguez <[email protected]> | 2019-04-26 13:26:21 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-04-28 11:07:45 +0900 |
commit | d0a54673202458455244f79ed212a97727f0c7c7 (patch) | |
tree | 4d984b9e2675d906b3e336c7f951f03b11316546 /lib/rubygems/command_manager.rb | |
parent | a15f7dd1fb1148c3d586238ee6907875f2e40379 (diff) |
Update rubygems with latest upstream changes
Closes: https://github.com/ruby/ruby/pull/2154
Diffstat (limited to 'lib/rubygems/command_manager.rb')
-rw-r--r-- | lib/rubygems/command_manager.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/rubygems/command_manager.rb b/lib/rubygems/command_manager.rb index 8ab0d98ed4..8ad723be55 100644 --- a/lib/rubygems/command_manager.rb +++ b/lib/rubygems/command_manager.rb @@ -169,12 +169,6 @@ class Gem::CommandManager when '-v', '--version' then say Gem::VERSION terminate_interaction 0 - when '--no-ri', '--no-rdoc' then - # This was added to compensate for a deprecation warning not being shown - # in Rubygems 2.x.x. - # TODO: Remove when Rubygems 3.1 is released. - alert_error "Invalid option: #{args.first}. Use --no-document instead." - terminate_interaction 1 when /^-/ then alert_error clean_text("Invalid option: #{args.first}. See 'gem --help'.") terminate_interaction 1 |