mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] Drop support for 'gem env packageversion'
be962ca0c4
This commit is contained in:
parent
62e2b2e66f
commit
a51661d378
3 changed files with 0 additions and 54 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue