mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
renamed "mri" to "ruby", for consistency with RUBY_ENGINE
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user