summaryrefslogtreecommitdiff
path: root/bench/bench.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bench.rb')
-rw-r--r--bench/bench.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/bench.rb b/bench/bench.rb
index 19e373d..c9382b8 100644
--- a/bench/bench.rb
+++ b/bench/bench.rb
@@ -5,7 +5,7 @@ require 'pathname'
require 'profile' if ARGV.include? '-p'
MYDIR = File.dirname(__FILE__)
-LIBDIR = Pathname.new(MYDIR).join('..', 'lib').cleanpath
+LIBDIR = Pathname.new(MYDIR).join('..', 'lib').cleanpath.to_s
$LOAD_PATH.unshift MYDIR, LIBDIR
require 'coderay'