Updated Branches:
  refs/heads/master d45b7db32 -> a510d6b48

THRIFT-2183 gem install fails on zsh
Patch: Paul Brannan


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/a510d6b4
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/a510d6b4
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/a510d6b4

Branch: refs/heads/master
Commit: a510d6b48b0346534d1e55eb3d3ef09765ec4a46
Parents: d45b7db
Author: Roger Meier <[email protected]>
Authored: Sun Jan 12 22:17:45 2014 +0100
Committer: Roger Meier <[email protected]>
Committed: Sun Jan 12 22:17:45 2014 +0100

----------------------------------------------------------------------
 lib/rb/Rakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/a510d6b4/lib/rb/Rakefile
----------------------------------------------------------------------
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 @@ 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

Reply via email to