summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-11-07 21:58:58 +0100
committerArun Agrawal <arunagw@gmail.com>2013-11-07 21:58:58 +0100
commit16a2670358354e75b817896f4fed8bb0f145376d (patch)
tree7c468f012b8349c9321c87b9fe0ed727aaa526af
parent8df479748ef66b2816b5c148458bfa87078e2bcd (diff)
downloadbundler-16a2670358354e75b817896f4fed8bb0f145376d.tar.gz
ruby-head warning removed
-rw-r--r--lib/bundler/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb
index 6c6a60b1bc..25cee8bef3 100644
--- a/lib/bundler/definition.rb
+++ b/lib/bundler/definition.rb
@@ -53,7 +53,7 @@ module Bundler
@lockfile_contents = ""
@ruby_version = ruby_version
- if lockfile && File.exists?(lockfile)
+ if lockfile && File.exist?(lockfile)
@lockfile_contents = Bundler.read_file(lockfile)
locked = LockfileParser.new(@lockfile_contents)
@platforms = locked.platforms