From 3d103351daf33e32596e622d8eafc4f24f32a8e6 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Mon, 21 Dec 2009 13:52:53 -0500 Subject: [PATCH] exit with proper status --- Rakefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index 69c3681..33fbe77 100644 --- a/Rakefile +++ b/Rakefile @@ -93,16 +93,16 @@ namespace :gem do desc "Install the gem locally" task :install do - system "gem build mongo-ruby-driver.gemspec" - system "gem install mongo-*.gem" - system "rm mongo-*.gem" + sh "gem build mongo-ruby-driver.gemspec" + sh "gem install mongo-*.gem" + sh "rm mongo-*.gem" end desc "Install the optional c extensions" task :install_extensions do - system "gem build mongo-extensions.gemspec" - system "gem install mongo_ext-*.gem" - system "rm mongo_ext-*.gem" + sh "gem build mongo-extensions.gemspec" + sh "gem install mongo_ext-*.gem" + sh "rm mongo_ext-*.gem" end end