Updates gemfile for Rails 3.1.x and 3.2.x

Updates Gemfile source according to TravisCI.