summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2023-03-13 14:26:05 +0100
committerHiroshi SHIBATA <[email protected]>2025-06-05 19:12:40 +0900
commite74008bfc9b0d3017e924e6eef39a4aeef7de01c (patch)
tree0ce2225134d004a1cded9f7ed2e9dd17c2d0f4d8 /lib
parent11492bd88d98edeaac4d3e35dd0d59bf67a79569 (diff)
[rubygems/rubygems] Reduce duplication a bit
https://github.com/rubygems/rubygems/commit/0574c62fc0
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/self_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/self_manager.rb b/lib/bundler/self_manager.rb
index 2aeac6be52..1d876075ec 100644
--- a/lib/bundler/self_manager.rb
+++ b/lib/bundler/self_manager.rb
@@ -182,7 +182,7 @@ module Bundler
end
def current_version
- @current_version ||= Gem::Version.new(Bundler::VERSION)
+ @current_version ||= Bundler.gem_version
end
def lockfile_version