THRIFT-2183 gem install fails on zsh
Patch: Paul Brannan
diff --git a/lib/rb/Rakefile b/lib/rb/Rakefile
index 132c635..f533d06 100644
--- a/lib/rb/Rakefile
+++ b/lib/rb/Rakefile
@@ -93,7 +93,7 @@
 
 desc 'Install the thrift gem'
 task :install => [:gem] do
-  unless sh 'gem', 'install', 'thrift-*.gem'
+  unless sh 'gem', 'install', Dir.glob('thrift-*.gem').last
     $stderr.puts "Failed to install thrift gem"
     break
   end