aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/self_manager.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-07-19 14:25:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-07-24 15:04:24 +0900
commitdd1af4b22d99642c2300e60d37215ea3c43ba337 (patch)
treea4344d1713f014ff55ac5225b8b91824e6da9139 /lib/bundler/self_manager.rb
parent34f541ae36877a6cc5d4c47898469742e1233948 (diff)
downloadruby-dd1af4b22d99642c2300e60d37215ea3c43ba337.tar.gz
[rubygems/rubygems] Rename local to lockfile and global to system
https://github.com/rubygems/rubygems/commit/456fd05d3a
Diffstat (limited to 'lib/bundler/self_manager.rb')
-rw-r--r--lib/bundler/self_manager.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/self_manager.rb b/lib/bundler/self_manager.rb
index 491800514d..5d7546e926 100644
--- a/lib/bundler/self_manager.rb
+++ b/lib/bundler/self_manager.rb
@@ -86,7 +86,7 @@ module Bundler
released?(lockfile_version) &&
!running?(lockfile_version) &&
!updating? &&
- Bundler.settings[:version] != "global"
+ Bundler.settings[:version] != "system"
end
def autoswitching_applies?
@@ -177,7 +177,7 @@ module Bundler
# BUNDLE_VERSION=x.y.z
@restart_version = Gem::Version.new(Bundler.settings[:version])
rescue ArgumentError
- # BUNDLE_VERSION=local
+ # BUNDLE_VERSION=lockfile
@restart_version = lockfile_version
end
end