benchmark/encode.rb in yajl-ruby-0.7.8 vs benchmark/encode.rb in yajl-ruby-0.7.9
- old
+ new
@@ -1,10 +1,11 @@
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
+$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'benchmark'
-require 'yajl_ext'
+require 'yajl'
require 'stringio'
begin
require 'json'
rescue LoadError
end