summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/encode_profile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark/encode_profile.rb')
-rw-r--r--lib/ffi_yajl/benchmark/encode_profile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi_yajl/benchmark/encode_profile.rb b/lib/ffi_yajl/benchmark/encode_profile.rb
index 153912e..c78e637 100644
--- a/lib/ffi_yajl/benchmark/encode_profile.rb
+++ b/lib/ffi_yajl/benchmark/encode_profile.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"
begin
require "perftools"