diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2011-12-27 02:45:00 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2011-12-27 02:45:00 +0100 |
commit | c8e21f2e6c83fffcb18e4e1b130bf4b3cf6b50de (patch) | |
tree | f75cd6fe168e8a3ad2e3b596d95d41b7829f7500 /lib/coderay.rb | |
parent | 5c4c0065784c6420224516e13a0c50d86e792363 (diff) | |
download | coderay-c8e21f2e6c83fffcb18e4e1b130bf4b3cf6b50de.tar.gz |
use coderay_path to load version.rb
Diffstat (limited to 'lib/coderay.rb')
-rw-r--r-- | lib/coderay.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay.rb b/lib/coderay.rb index e54a73b..876d770 100644 --- a/lib/coderay.rb +++ b/lib/coderay.rb @@ -127,8 +127,6 @@ module CodeRay $CODERAY_DEBUG ||= false - require 'coderay/version' - CODERAY_PATH = File.join File.dirname(__FILE__), 'coderay' # Assuming the path is a subpath of lib/coderay/ @@ -136,6 +134,8 @@ module CodeRay File.join CODERAY_PATH, *path end + require coderay_path('version') + # helpers autoload :FileType, coderay_path('helpers', 'file_type') |