summaryrefslogtreecommitdiff
path: root/lib/bundler/source/git.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2023-10-26 22:12:02 +0200
committerHiroshi SHIBATA <[email protected]>2023-11-13 11:06:10 +0900
commit50482cd1e5542f210565440bed7586821f774a29 ()
tree78ea56dcf75b96116fc6bb5fd3dd4b6cfdd72316 /lib/bundler/source/git.rb
parent54511303a46901a82e9b2d4ee460b2048e59a2e5 (diff)
[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in Bundler
https://.com/rubygems/rubygems/commit/93619c97ff
-rw-r--r--lib/bundler/source/git.rb2
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ module Bundler
def load_gemspec(file)
stub = Gem::StubSpecification.gemspec_stub(file, install_path.parent, install_path.parent)
- stub.full_gem_path = Pathname.new(file).dirname.expand_path(root).to_s.tap {|x| x.untaint if RUBY_VERSION < "2.7" }
StubSpecification.from_stub(stub)
end