diff options
author | murphy <murphy@rubychan.de> | 2008-12-25 01:22:30 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-12-25 01:22:30 +0000 |
commit | 79a313948f2277cf0f2e238d5765a71fee03e089 (patch) | |
tree | 7f6c2de879231f1b7a30d9ba481984e79fede9c1 /bench | |
parent | bca06f1ec361537c4c7f1368ca8838be2940dafe (diff) | |
download | coderay-79a313948f2277cf0f2e238d5765a71fee03e089.tar.gz |
Fixes for Ruby 1.9.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/bench.rb | 2 |
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' |