summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-05-02 19:42:15 +0900
committernagachika <nagachika@ruby-lang.org>2022-05-18 10:02:42 +0900
commit8ba584ff3c085251865c11c5d7deef0ddfc6d0ff (patch)
tree7574439a57c7ad4f9ee7decf7f8272f48e7fc343 /lib/bundler.rb
parentec5dae0d816261719b0b2f9595c072701c7036e0 (diff)
Merge RubyGems-3.3.11 and Bundler-2.3.11
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 0025dee720..47b352177d 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -370,7 +370,7 @@ EOF
if env.key?("RUBYLIB")
rubylib = env["RUBYLIB"].split(File::PATH_SEPARATOR)
- rubylib.delete(File.expand_path("..", __FILE__))
+ rubylib.delete(__dir__)
env["RUBYLIB"] = rubylib.join(File::PATH_SEPARATOR)
end