From a510d6b48b0346534d1e55eb3d3ef09765ec4a46 Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Sun, 12 Jan 2014 22:17:45 +0100 Subject: [PATCH] THRIFT-2183 gem install fails on zsh Patch: Paul Brannan --- lib/rb/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.17.1