renamed "mri" to "ruby", for consistency with RUBY_ENGINE

This commit is contained in:
Gonçalo Silva
2011-03-25 02:59:11 +00:00
parent 18a81db6fc
commit 3ec79e4288
4 changed files with 2 additions and 2 deletions

View File

@@ -271,9 +271,9 @@ module ActiveSupport
end
end
RUBY_ENGINE ||= "ruby"
RUBY_ENGINE = "ruby" unless defined?(RUBY_ENGINE)
case RUBY_ENGINE
when "ruby" then require 'active_support/testing/performance/mri'
when "ruby" then require 'active_support/testing/performance/ruby'
else
$stderr.puts "Your ruby interpreter is not supported for benchmarking."
exit