Permalink
Browse files

Fix benchmark for 1.9 (. is not in require path)

  • Loading branch information...
1 parent d3b0518 commit abc9bf029ad76d9052973275c611e9a893d69ccf @threedaymonk committed Mar 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 perf/benchmark.rb
View
@@ -1,7 +1,7 @@
# encoding: UTF-8
$KCODE = 'u' unless "1.9".respond_to?(:encoding)
-require File.join(File.dirname(__FILE__), "performance")
+require File.expand_path("../performance", __FILE__)
require "benchmark"
job = HTMLEntitiesJob.new

0 comments on commit abc9bf0

Please sign in to comment.