From ab1bb26c29cc69a93da2d808ae8cd7b3cad6ea25 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 30 Jun 2013 16:55:15 +0200 Subject: use File.expand_path instead of File.join --- lib/coderay.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1