summaryrefslogtreecommitdiff
path: root/lib/bundler/lockfile_parser.rb
diff options
context:
space:
mode:
authorJonathan Rochkind <jonathan@friendsoftheweb.com>2016-08-08 16:31:42 -0400
committerJonathan Rochkind <jonathan@dnil.net>2016-08-08 20:05:48 -0400
commit51838e3faaa5ea3d55e784acb94fe89d9ea98692 (patch)
tree7f088e9df48e6804ed0f70a4633296c9bf3011d3 /lib/bundler/lockfile_parser.rb
parente23ea1519cfd9164053cb0eca84c3447ed6a2d57 (diff)
downloadbundler-51838e3faaa5ea3d55e784acb94fe89d9ea98692.tar.gz
include version numbers involved with warn_for_outdated_bundler_version
Diffstat (limited to 'lib/bundler/lockfile_parser.rb')
-rw-r--r--lib/bundler/lockfile_parser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index 90da4ac608..063a1887fa 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -109,8 +109,8 @@ module Bundler
raise LockfileError, "You must use Bundler #{bundler_version.segments.first} or greater with this lockfile."
when 0
if current_version < bundler_version
- Bundler.ui.warn "Warning: the running version of Bundler is older " \
- "than the version that created the lockfile. We suggest you " \
+ Bundler.ui.warn "Warning: the running version of Bundler (#{current_version}) is older " \
+ "than the version that created the lockfile (#{bundler_version}). We suggest you " \
"upgrade to the latest version of Bundler by running `gem " \
"install bundler#{prerelease_text}`.\n"
end