From: Roger Meier Date: Sun, 12 Jan 2014 21:17:45 +0000 (+0100) Subject: THRIFT-2183 gem install fails on zsh X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=a510d6b48b0346534d1e55eb3d3ef09765ec4a46;p=common%2Fthrift.git THRIFT-2183 gem install fails on zsh Patch: Paul Brannan --- diff --git a/lib/rb/Rakefile b/lib/rb/Rakefile index 132c6358..f533d068 100644 --- a/lib/rb/Rakefile +++ b/lib/rb/Rakefile @@ -93,7 +93,7 @@ end 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