From a51661d378c26ae5bd4b608de4948887e70bcacc Mon Sep 17 00:00:00 2001 From: bronzdoc Date: Wed, 10 Jul 2019 07:16:57 -0600 Subject: [rubygems/rubygems] Drop support for 'gem env packageversion' https://github.com/rubygems/rubygems/commit/be962ca0c4 --- lib/rubygems/commands/environment_command.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/rubygems/commands/environment_command.rb') diff --git a/lib/rubygems/commands/environment_command.rb b/lib/rubygems/commands/environment_command.rb index 11fb45f68d..c98a77ac2e 100644 --- a/lib/rubygems/commands/environment_command.rb +++ b/lib/rubygems/commands/environment_command.rb @@ -9,7 +9,6 @@ class Gem::Commands::EnvironmentCommand < Gem::Command def arguments # :nodoc: args = <<-EOF - packageversion display the package version gemdir display the path where gems are installed gempath display path used to search for gems version display the gem format version @@ -76,8 +75,6 @@ lib/rubygems/defaults/operating_system.rb arg = options[:args][0] out << case arg - when /^packageversion/ then - Gem::RubyGemsPackageVersion when /^version/ then Gem::VERSION when /^gemdir/, /^gemhome/, /^home/, /^GEM_HOME/ then -- cgit v1.2.3