summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-30 16:55:15 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-30 16:55:15 +0200
commitab1bb26c29cc69a93da2d808ae8cd7b3cad6ea25 (patch)
treecdace8f2fd882b7f74790e6099a255e015369ebd
parentdc57601571af8024700991b6a80129285a980e9e (diff)
downloadcoderay-ab1bb26c29cc69a93da2d808ae8cd7b3cad6ea25.tar.gz
use File.expand_path instead of File.join
-rw-r--r--lib/coderay.rb2
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