summaryrefslogtreecommitdiff
path: root/lib/bundler/match_platform.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/match_platform.rb')
-rw-r--r--lib/bundler/match_platform.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/match_platform.rb b/lib/bundler/match_platform.rb
index fed418b593..0a4e4c7e3a 100644
--- a/lib/bundler/match_platform.rb
+++ b/lib/bundler/match_platform.rb
@@ -8,7 +8,8 @@ module Bundler
def match_platform(p)
Gem::Platform::RUBY == platform ||
platform.nil? || p == platform ||
- generic(Gem::Platform.new(platform)) === p
+ generic(Gem::Platform.new(platform)) === p ||
+ Gem::Platform.new(platform) === p
end
end
end