From 8a6c9635d7ec7e966ce5a90828559f71e999262f Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Mon, 17 Aug 2009 10:14:48 -0400 Subject: [PATCH] minor: only use gem1.9 if we used rake1.9 --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 6436547..0fdfa41 100644 --- a/Rakefile +++ b/Rakefile @@ -12,7 +12,7 @@ require 'rbconfig' include Config gem_command = "gem" -gem_command = "gem1.9" if CONFIG["MAJOR"] == "1" && CONFIG["MINOR"] == "9" +gem_command = "gem1.9" if $0.match(/1\.9$/) # use gem1.9 if we used rake1.9 # NOTE: some of the tests assume Mongo is running Rake::TestTask.new do |t|