diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-06-23 15:24:07 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-06-23 18:41:36 -0500 |
commit | 5b7aa36a6d07ee3d051512d08c86946bde21410c (patch) | |
tree | abf16d87ff7f45f6b724681614dfc709870f05c7 | |
parent | 93489a87c69d3849e1244003f102f2f9eab5799a (diff) | |
download | bundler-5b7aa36a6d07ee3d051512d08c86946bde21410c.tar.gz |
[SharedHelpers] Fix printing rubygems version
-rw-r--r-- | lib/bundler/shared_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 43a5f09898..df0fffbaed 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -132,7 +132,7 @@ module Bundler major_deprecation("Bundler will only support ruby >= 2.0, you are running #{RUBY_VERSION}") end return if Bundler.rubygems.provides?(">= 2") - major_deprecation("Bundler will only support rubygems >= 2.4, you are running #{self.class.version}") + major_deprecation("Bundler will only support rubygems >= 2.0, you are running #{Bundler.rubygems.version}") end private |