summaryrefslogtreecommitdiff
path: root/lib/bundler/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/environment.rb')
-rw-r--r--lib/bundler/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb
index fe510e35a7..c5a44d1be3 100644
--- a/lib/bundler/environment.rb
+++ b/lib/bundler/environment.rb
@@ -36,7 +36,7 @@ module Bundler
end
def lock
- @definition.lock(root.join('Gemfile.lock'))
+ @definition.lock(Bundler.default_lockfile)
end
def update(*gems)