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 <