From 6a4ce41bb4696aaad4bb9ace81b7e71ca55c6d8b Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Mon, 23 Mar 2009 12:13:44 -0400 Subject: [PATCH] use gem1.9 if we used rake1.9 --- Rakefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index a218269..6191117 100644 --- a/Rakefile +++ b/Rakefile @@ -11,6 +11,9 @@ end require 'rbconfig' include Config +gem_command = "gem" +gem_command = "gem1.9" if CONFIG["MAJOR"] = "1" && CONFIG["MINOR"] = "9" + # NOTE: some of the tests assume Mongo is running Rake::TestTask.new do |t| t.test_files = FileList['tests/test*.rb'] @@ -33,8 +36,8 @@ namespace :gem do desc "Install the gem locally" task :install do sh <