aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorGonçalo Silva <goncalossilva@gmail.com>2011-03-25 17:21:32 +0000
committerGonçalo Silva <goncalossilva@gmail.com>2011-03-25 17:21:32 +0000
commitb0beba2621a98af3bc00a8f932c330b82b676af2 (patch)
treee29f1277fd165b3051e1f218e38b3c860aa56933 /activesupport/lib
parent995d543b6458f84b05bd75464c7c270f1dfb14d2 (diff)
downloadrails-b0beba2621a98af3bc00a8f932c330b82b676af2.tar.gz
rails-b0beba2621a98af3bc00a8f932c330b82b676af2.tar.bz2
rails-b0beba2621a98af3bc00a8f932c330b82b676af2.zip
rubinius returns "rbx" for RUBY_ENGINE, not "rubinius"
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/testing/performance.rb4
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