[rubygems/rubygems] Stop fighting with ourselves
https://github.com/rubygems/rubygems/commit/7cf2fdcfa1
This commit is contained in:
parent
c14b60630d
commit
47db8bc01c
@ -123,11 +123,6 @@ module Gem
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
remove_method :gem_dir
|
|
||||||
def gem_dir
|
|
||||||
full_gem_path
|
|
||||||
end
|
|
||||||
|
|
||||||
unless const_defined?(:LATEST_RUBY_WITHOUT_PATCH_VERSIONS)
|
unless const_defined?(:LATEST_RUBY_WITHOUT_PATCH_VERSIONS)
|
||||||
LATEST_RUBY_WITHOUT_PATCH_VERSIONS = Gem::Version.new("2.1")
|
LATEST_RUBY_WITHOUT_PATCH_VERSIONS = Gem::Version.new("2.1")
|
||||||
|
|
||||||
|
@ -1913,7 +1913,7 @@ class Gem::Specification < Gem::BasicSpecification
|
|||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
# Work around bundler removing my methods
|
# Work around old bundler versions removing my methods
|
||||||
|
|
||||||
def gem_dir # :nodoc:
|
def gem_dir # :nodoc:
|
||||||
super
|
super
|
||||||
|
Loading…
x
Reference in New Issue
Block a user