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 bdfee7c..7b5114c 100644
--- a/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
+++ b/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb
@@ -1,7 +1,7 @@
# Portions Originally Copyright (c) 2008-2011 Brian Lopez - http://github.com/brianmario
# See MIT-LICENSE
-require "rubygems"
+require "rubygems" unless defined?(Gem)
require_relative "../../ffi_yajl"
module FFI_Yajl