Permalink
Browse files

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

  • Loading branch information...
goncalossilva committed Mar 25, 2011
1 parent 18a81db commit 3ec79e4288df602301e26ae7b2f2b651ff745862
@@ -271,9 +271,9 @@ def measure; end
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

0 comments on commit 3ec79e4

Please sign in to comment.