Interesting Things
A project reported that GemInstaller failed when installing Rails 2.2.2, because it attempted to list the remote Rails 3.0.beta gem. There’s a bug open and awaiting more info, but since this is not reproducible on RubyGems 1.3.5, it may be due to an old RubyGems version not handling prerelease gems properly.
The GemInstaller author heartily recommends that you switch to Bundler anyway
As I suspected, this was due to an old version of RubyGems which does not support prerelease gems (it was added in a 1.3.x minor release, which is kinda wack, but I digress).
Anyway, if your RubyGems is non-prerelease-supporting, you can reproduce the error in IRB thusly:
require ‘rubygems’; Gem::Version.new(’1.a’)
I just tested against the new RubyGems 1.3.6, and AFAIK GemInstaller is working fine against it. But you should still switch to [Bundler](http://github.com/carlhuda/bundler).
February 21, 2010 at 2:45 pm