summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb')
-rw-r--r--lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
index 8d9dd5d..db72e45 100644
--- a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
+++ b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
@@ -10,7 +10,7 @@ module FFI_Yajl
def run
begin
require 'ruby-prof'
- rescue Exception
+ rescue LoadError
puts "INFO: perftools.rb gem not installed"
end