Use older version of rubygems

to avoid errors with Ruby 1.8.7 builds on travis