diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-18 12:04:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-18 12:04:51 -0700 |
commit | 4f106bbb2ccbcfb54865bdca786b9fb0ee669032 (patch) | |
tree | 3e08a545264b32c21810d4f54c5161b11ee9d28e /activesupport/lib/active_support/testing/performance | |
parent | 11acaa172c73c5d1787184ef5545df358027462c (diff) | |
download | rails-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.rb | 2 |
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 |