rubygems/rubygems — pull request #1058 by tux-mind (2014-11-09 18:54:47+00:00)
Title: Fix platform matching

`s.platform` is a String, so the method `Gem::Platform#=~` should be used instead of `Gem::Platform#===`.

in my case:

```
Gem::Platform.local: #
s.platform.class: String
s.platform: arm-linux
Gem::Platform::RUBY: ruby
```