summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/parse_profile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark/parse_profile.rb')
-rw-r--r--lib/ffi_yajl/benchmark/parse_profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/parse_profile.rb b/lib/ffi_yajl/benchmark/parse_profile.rb
index 39343bc..dfcbc01 100644
--- a/lib/ffi_yajl/benchmark/parse_profile.rb
+++ b/lib/ffi_yajl/benchmark/parse_profile.rb
@@ -5,7 +5,7 @@ require 'rubygems'
require 'ffi_yajl'
begin
require 'perftools'
-rescue Exception
+rescue LoadError
puts "INFO: perftools.rb gem not installed"
end