aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/environment.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-08-03 11:00:55 -0700
committerCarl Lerche <carllerche@mac.com>2010-08-03 11:00:55 -0700
commit251b9c78cdb1c1cd04de57965752373fd37856df (patch)
tree5349d728d22590f15475e1d049d0e20c8d9bd378 /lib/bundler/environment.rb
parent37ee7577583215b87e4cfa37ab7bd5a2b1d1722c (diff)
downloadbundler-251b9c78cdb1c1cd04de57965752373fd37856df.tar.gz
Use the Gemfile's name as a base for Gemfile.lock
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 fe510e35..c5a44d1b 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)