THRIFT-3729 Restrict rake version

This closes #939
diff --git a/lib/rb/thrift.gemspec b/lib/rb/thrift.gemspec
index 43e5a7f..8e8deba 100644
--- a/lib/rb/thrift.gemspec
+++ b/lib/rb/thrift.gemspec
@@ -32,6 +32,6 @@
   s.add_development_dependency "rack-test", "~> 0.6.2"
   s.add_development_dependency "thin", "~> 1.5.0"
   s.add_development_dependency "bundler"
-  s.add_development_dependency 'rake'
+  s.add_development_dependency 'rake', '~> 10.5.0'
 end