aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-10-18 12:04:51 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-10-18 12:04:51 -0700
commit4f106bbb2ccbcfb54865bdca786b9fb0ee669032 (patch)
tree3e08a545264b32c21810d4f54c5161b11ee9d28e /activesupport/lib/active_support/testing/performance
parent11acaa172c73c5d1787184ef5545df358027462c (diff)
downloadrails-4f106bbb2ccbcfb54865bdca786b9fb0ee669032.tar.gz
rails-4f106bbb2ccbcfb54865bdca786b9fb0ee669032.tar.bz2
rails-4f106bbb2ccbcfb54865bdca786b9fb0ee669032.zip
some ruby interpreters don't have ruby-prof so just skip the tests
rather than exiting the process.
Diffstat (limited to 'activesupport/lib/active_support/testing/performance')
-rw-r--r--activesupport/lib/active_support/testing/performance/ruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby.rb b/activesupport/lib/active_support/testing/performance/ruby.rb
index 12aef0d7fe..7c149df1e4 100644
--- a/activesupport/lib/active_support/testing/performance/ruby.rb
+++ b/activesupport/lib/active_support/testing/performance/ruby.rb
@@ -2,7 +2,7 @@ begin
require 'ruby-prof'
rescue LoadError
$stderr.puts 'Specify ruby-prof as application\'s dependency in Gemfile to run benchmarks.'
- exit
+ raise
end
module ActiveSupport