diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-30 16:55:15 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-06-30 16:55:15 +0200 |
commit | ab1bb26c29cc69a93da2d808ae8cd7b3cad6ea25 (patch) | |
tree | cdace8f2fd882b7f74790e6099a255e015369ebd /lib/coderay.rb | |
parent | dc57601571af8024700991b6a80129285a980e9e (diff) | |
download | coderay-ab1bb26c29cc69a93da2d808ae8cd7b3cad6ea25.tar.gz |
use File.expand_path instead of File.join
Diffstat (limited to 'lib/coderay.rb')
-rw-r--r-- | lib/coderay.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay.rb b/lib/coderay.rb index 0c66f49..f759ed6 100644 --- a/lib/coderay.rb +++ b/lib/coderay.rb @@ -127,7 +127,7 @@ module CodeRay $CODERAY_DEBUG ||= false - CODERAY_PATH = File.join File.dirname(__FILE__), 'coderay' + CODERAY_PATH = File.expand_path('../coderay', __FILE__) # Assuming the path is a subpath of lib/coderay/ def self.coderay_path *path |