Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rubinius returns "rbx" for RUBY_ENGINE, not "rubinius"

  • Loading branch information...
commit b0beba2621a98af3bc00a8f932c330b82b676af2 1 parent 995d543
@goncalossilva goncalossilva authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/testing/performance.rb
View
4 activesupport/lib/active_support/testing/performance.rb
@@ -273,8 +273,8 @@ def measure; 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
Please sign in to comment.
Something went wrong with that request. Please try again.