summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Arko <andre@arko.net>2013-11-09 13:29:53 -0800
committerAndré Arko <andre@arko.net>2013-11-09 13:29:53 -0800
commit07e16bd5fb0380a19bf8559427c92b3973fe8e5b (patch)
tree43dd604c27b736046146901b62da7cd2969bdd90
parenta4c990c9bd4954b5f6d1a71acf1bc712119cb52d (diff)
parent16a2670358354e75b817896f4fed8bb0f145376d (diff)
downloadbundler-07e16bd5fb0380a19bf8559427c92b3973fe8e5b.tar.gz
Merge pull request #2699 from arunagw/master
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