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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/match_platform.rb b/lib/bundler/match_platform.rb
index 7f7e8227f9..ece9fb8679 100644
--- a/lib/bundler/match_platform.rb
+++ b/lib/bundler/match_platform.rb
@@ -12,7 +12,7 @@ module Bundler
def self.platforms_match?(gemspec_platform, local_platform)
return true if gemspec_platform.nil?
- return true if Gem::Platform::RUBY == gemspec_platform
+ return true if gemspec_platform == Gem::Platform::RUBY
return true if local_platform == gemspec_platform
gemspec_platform = Gem::Platform.new(gemspec_platform)
return true if gemspec_platform === local_platform