RailsConf inspired me to be more vocal in the community, and one way is for me to share some of the problem workarounds I’ve come up with. Here’s the first one, and I’m posting it in spite of being ashamed of it!
I use an automated mechanism to set up my Ubuntu machines from scratch, but I’ve had trouble with getting “gem install” to install the right version of binary gems: in spite of my efforts to script it, it’s been installing “mswin32”-platform gems under Ubuntu. There’s already a discussion on the RubyGems list about this, but I don’t have the experience with the gems architecture to help drive the decision; in the meantime, I needed a fix..
This works for me, for now:
This makes “gem” ignore “mswin32”-platform gems. I apply the patch (in my automated mechanism, of course), and if the apply fails, the install will fail, so (assuming the real fix for this problem modifies remote_install.rb), I’ll quickly find out and can rip this hack out.