Backport 58b9e7e and 3a946ff to 6.7
Freezing rspec version to ~> 2.9

I don't know if this is the best practice for the gem or not.