diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-03-25 17:21:32 +0000 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-03-25 17:21:32 +0000 |
commit | b0beba2621a98af3bc00a8f932c330b82b676af2 (patch) | |
tree | e29f1277fd165b3051e1f218e38b3c860aa56933 /activesupport | |
parent | 995d543b6458f84b05bd75464c7c270f1dfb14d2 (diff) | |
download | rails-b0beba2621a98af3bc00a8f932c330b82b676af2.tar.gz rails-b0beba2621a98af3bc00a8f932c330b82b676af2.tar.bz2 rails-b0beba2621a98af3bc00a8f932c330b82b676af2.zip |
rubinius returns "rbx" for RUBY_ENGINE, not "rubinius"
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/testing/performance.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index ae78fafe78..9a759433b9 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -273,8 +273,8 @@ end RUBY_ENGINE = 'ruby' unless defined?(RUBY_ENGINE) # mri 1.8 case RUBY_ENGINE - when 'ruby' then require 'active_support/testing/performance/ruby' - when 'rubinius' then require 'active_support/testing/performance/rubinius' + when 'ruby' then require 'active_support/testing/performance/ruby' + when 'rbx' then require 'active_support/testing/performance/rubinius' else $stderr.puts 'Your ruby interpreter is not supported for benchmarking.' exit |