summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/outdated.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2018-01-15 14:48:14 -0800
committerSamuel Giddins <segiddins@segiddins.me>2018-01-15 14:48:14 -0800
commit59d21d52b53e9bed6c5e0e2825f5b4918f2f0c30 (patch)
treee0312498c2ef405372dbf2845b0d115b4a4bfe57 /lib/bundler/cli/outdated.rb
parent723608f45866cee0f1b315551a8dde6a99efebc6 (diff)
downloadbundler-59d21d52b53e9bed6c5e0e2825f5b4918f2f0c30.tar.gz
Rename Bundler.frozen? to avoid Object method conflictseg-rename-bundler-frozen
Diffstat (limited to 'lib/bundler/cli/outdated.rb')
-rw-r--r--lib/bundler/cli/outdated.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index d0639f0e74..e230163c68 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -213,7 +213,7 @@ module Bundler
end
def check_for_deployment_mode
- return unless Bundler.frozen?
+ return unless Bundler.frozen_bundle?
suggested_command = if Bundler.settings.locations("frozen")[:global]
"bundle config --delete frozen"
elsif Bundler.settings.locations("deployment").keys.&([:global, :local]).any?