Fix failing spec tests

The new rake version deprecated ruby 1.8.7. This
change pins to the previous one: 10.1.1