diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-04-13 09:00:24 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-04-13 18:47:31 -0700 |
commit | 99a71299d1991e5b31a651e48b31a651d7065510 (patch) | |
tree | 3d90ac8fe888e097a9ba9af74fb534e91e614fa0 | |
parent | 10d94dcee83ae2c82cd39152c29cb4477f42c5c0 (diff) | |
download | bundler-99a71299d1991e5b31a651e48b31a651d7065510.tar.gz |
platform can be of type string so it must be cast into a Gem::Platform
-rw-r--r-- | lib/bundler/match_platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/match_platform.rb b/lib/bundler/match_platform.rb index 757f2c6af4..4f2ba0a24a 100644 --- a/lib/bundler/match_platform.rb +++ b/lib/bundler/match_platform.rb @@ -8,7 +8,7 @@ module Bundler Gem::Platform::RUBY == platform or platform.nil? or p == platform or generic(Gem::Platform.new(platform)) == p or - platform === p + Gem::Platform.new(platform) === p end end end |