Fix travis build for rails 2.3.16

Rails 2.3.16 requires a rubygems version prior to 2.0 because it depends
on deprecated `Gem.source_index` behaviour. This command downgrades
rubygems to the latest pre-2.0 version prior to running the specs.