diff options
Diffstat (limited to 'activesupport/lib/active_support/testing/performance.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/performance.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index a7faf6267a..ae78fafe78 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -271,10 +271,11 @@ module ActiveSupport end end -RUBY_ENGINE = "ruby" unless defined?(RUBY_ENGINE) +RUBY_ENGINE = 'ruby' unless defined?(RUBY_ENGINE) # mri 1.8 case RUBY_ENGINE - when "ruby" then require 'active_support/testing/performance/ruby' + when 'ruby' then require 'active_support/testing/performance/ruby' + when 'rubinius' then require 'active_support/testing/performance/rubinius' else - $stderr.puts "Your ruby interpreter is not supported for benchmarking." + $stderr.puts 'Your ruby interpreter is not supported for benchmarking.' exit end |