aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance/ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/ruby.rb')
-rw-r--r--activesupport/lib/active_support/testing/performance/ruby.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby.rb b/activesupport/lib/active_support/testing/performance/ruby.rb
index 86287b2d45..f786b85925 100644
--- a/activesupport/lib/active_support/testing/performance/ruby.rb
+++ b/activesupport/lib/active_support/testing/performance/ruby.rb
@@ -157,11 +157,11 @@ module ActiveSupport
end
end
-if RUBY_VERSION >= "1.9.2"
+if RUBY_VERSION >= '1.9.2'
require 'active_support/testing/performance/ruby/yarv'
-elsif RUBY_VERSION >= "1.8.6"
+elsif RUBY_VERSION >= '1.8.6'
require 'active_support/testing/performance/ruby/mri'
else
- $stderr.puts "Update your ruby interpreter to be able to run benchmarks."
+ $stderr.puts 'Update your ruby interpreter to be able to run benchmarks.'
exit
end