зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Stop fighting with ourselves
https://github.com/rubygems/rubygems/commit/7cf2fdcfa1
This commit is contained in:
Родитель
c14b60630d
Коммит
47db8bc01c
|
@ -123,11 +123,6 @@ module Gem
|
|||
end
|
||||
end
|
||||
|
||||
remove_method :gem_dir
|
||||
def gem_dir
|
||||
full_gem_path
|
||||
end
|
||||
|
||||
unless const_defined?(:LATEST_RUBY_WITHOUT_PATCH_VERSIONS)
|
||||
LATEST_RUBY_WITHOUT_PATCH_VERSIONS = Gem::Version.new("2.1")
|
||||
|
||||
|
|
|
@ -1913,7 +1913,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||
end
|
||||
|
||||
##
|
||||
# Work around bundler removing my methods
|
||||
# Work around old bundler versions removing my methods
|
||||
|
||||
def gem_dir # :nodoc:
|
||||
super
|
||||
|
|
Загрузка…
Ссылка в новой задаче