[rubygems/rubygems] Update current_ruby.rb
https://github.com/rubygems/rubygems/commit/8755ca959e
This commit is contained in:
parent
79ede4ae99
commit
f1fe4a4a99
@ -71,10 +71,10 @@ module Bundler
|
|||||||
def windows?
|
def windows?
|
||||||
Gem.win_platform?
|
Gem.win_platform?
|
||||||
end
|
end
|
||||||
alias mswin? windows?
|
alias_method :mswin?, :windows?
|
||||||
alias mswin64? windows?
|
alias_method :mswin64?, :windows?
|
||||||
alias mingw? windows?
|
alias_method :mingw?, :windows?
|
||||||
alias x64_mingw? windows?
|
alias_method :x64_mingw?, :windows?
|
||||||
|
|
||||||
(KNOWN_MINOR_VERSIONS + KNOWN_MAJOR_VERSIONS).each do |version|
|
(KNOWN_MINOR_VERSIONS + KNOWN_MAJOR_VERSIONS).each do |version|
|
||||||
trimmed_version = version.tr(".", "")
|
trimmed_version = version.tr(".", "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user