minor: only use gem1.9 if we used rake1.9

This commit is contained in:
Mike Dirolf 2009-08-17 10:14:48 -04:00
parent e4bdec1a55
commit 8a6c9635d7
1 changed files with 1 additions and 1 deletions

View File

@ -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|