aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/support/path.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2023-11-23 22:06:19 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-27 15:04:40 +0900
commit60803e192eebd1048f28ea5ba2a2f2c753424dad (patch)
treedf4fb3a910cdec5a00d97defaed3d1a9a73f4c98 /spec/bundler/support/path.rb
parent67ee91a3058e9d918add38ed02205e7383f00fad (diff)
downloadruby-60803e192eebd1048f28ea5ba2a2f2c753424dad.tar.gz
[rubygems/rubygems] Remove no longer necessary workaround for old RubyGems
https://github.com/rubygems/rubygems/commit/ed4eaefac0
Diffstat (limited to 'spec/bundler/support/path.rb')
-rw-r--r--spec/bundler/support/path.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb
index 8b9c0e1290..23b8cc4180 100644
--- a/spec/bundler/support/path.rb
+++ b/spec/bundler/support/path.rb
@@ -225,13 +225,6 @@ module Spec
root.join("lib")
end
- # Sometimes rubygems version under test does not include
- # https://github.com/rubygems/rubygems/pull/2728 and will not always end up
- # activating the current bundler. In that case, require bundler absolutely.
- def entrypoint
- Gem.rubygems_version < Gem::Version.new("3.1.a") ? "#{lib_dir}/bundler" : "bundler"
- end
-
def global_plugin_gem(*args)
home ".bundle", "plugin", "gems", *args
end