summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli/install.rb')
-rw-r--r--lib/bundler/cli/install.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 256ae0a7d2..df3472d70a 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -69,9 +69,7 @@ module Bundler
"before deploying."
end
- if Bundler.app_cache.exist?
- options[:local] = true
- end
+ options[:local] = true if Bundler.app_cache.exist?
Bundler.settings[:frozen] = "1"
end