summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2008-12-25 01:22:30 +0000
committermurphy <murphy@rubychan.de>2008-12-25 01:22:30 +0000
commit79a313948f2277cf0f2e238d5765a71fee03e089 (patch)
tree7f6c2de879231f1b7a30d9ba481984e79fede9c1 /bench
parentbca06f1ec361537c4c7f1368ca8838be2940dafe (diff)
downloadcoderay-79a313948f2277cf0f2e238d5765a71fee03e089.tar.gz
Fixes for Ruby 1.9.
Diffstat (limited to 'bench')
-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'