Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Fix universal gem installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaym authored and indirect committed Apr 11, 2015
1 parent 442d576 commit bd078f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/bundler/gem_helpers.rb
Expand Up @@ -6,6 +6,7 @@ module GemHelpers
[Gem::Platform.new('java'), Gem::Platform.new('java')],
[Gem::Platform.new('mswin32'), Gem::Platform.new('mswin32')],
[Gem::Platform.new('mswin64'), Gem::Platform.new('mswin64')],
[Gem::Platform.new('universal-mingw32'), Gem::Platform.new('universal-mingw32')],
[Gem::Platform.new('x64-mingw32'), Gem::Platform.new('x64-mingw32')],
[Gem::Platform.new('x86_64-mingw32'), Gem::Platform.new('x64-mingw32')],
[Gem::Platform.new('mingw32'), Gem::Platform.new('x86-mingw32')]
Expand Down
3 changes: 2 additions & 1 deletion lib/bundler/match_platform.rb
Expand Up @@ -7,7 +7,8 @@ module MatchPlatform
def match_platform(p)
Gem::Platform::RUBY == platform or
platform.nil? or p == platform or
generic(Gem::Platform.new(platform)) == p
generic(Gem::Platform.new(platform)) == p or
platform === p
end
end
end

0 comments on commit bd078f2

Please sign in to comment.