Fix tests after domain redirection
Specify ruby 1.8.7 in the Gemfile.