By RunnerPack
Date 2014-09-18 06:13
Edited 2014-09-18 06:22
I have a problem concerning RubyGems and "platforms".
In the last few versions of Gosu (I think starting with 0.8.0) when I try to "gem update" or "gem install gosu", it says something about the gem not being for my platform, and to use "--platform=i386-mingw32". Since I thought that was the version of Ruby I was using (the output of "ruby -v" even includes the string "i386-mingw32") I started digging around in rubygems to see what was going on, or at least how I could make that the default. I found out that rubygems keeps a list of supported platforms, so I ran "gem env". This produces, among other things, the platforms list: "ruby" and... "x86-mingw32"?!
I'm guessing the problem is that the Gosu gem now targets "i386-mingw32" instead of "x86-mingw32". If this is the case, is there a specific reason for the change? For example, is this the platform returned by the rubygems included with the latest 1.9.x or 2.x RubyInstallers?
I searched the RubyInstaller github for this issue and came up empty. I'm not even sure it's their fault rather than that of the rubygems maintainers themselves. Even if it is, I don't even have the latest build of 1.9.3, let alone 2.x, and I thought that might be my problem, so I want to upgrade before posting an issue.
EDIT: I just updated rubygems, and it still shows the same list of platforms. I'm thinking this is where the problem lies, and I should complain to them about it…