Fixes #6534 - limit version for rest-client on Ruby 1.8

latest rest-client 1.7.1 dropped support for Ruby 1.8
I'll fix the gems