summaryrefslogtreecommitdiff
path: root/lib/coderay.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay.rb')
-rw-r--r--lib/coderay.rb4
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')