Pin to Ruby 1.8.7 compatible versions in gemfiles.

This won't help when installing the gem directly, but at least when
running bundler under ruby 1.8.7 you'll get the right gem versions.