Skip to content

Commit 4162433

Browse files
committed
trying different ways to load CodeRay version
1 parent a3e79c7 commit 4162433

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/coderay.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def self.coderay_path *path
134134
File.join CODERAY_PATH, *path
135135
end
136136

137-
require coderay_path('version')
137+
require 'coderay/version'
138138

139139
# helpers
140140
autoload :FileType, coderay_path('helpers', 'file_type')

lib/coderay/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module CodeRay
2-
VERSION = '1.1.0' unless defined? VERSION
2+
VERSION = '1.1.0'
33
end

0 commit comments

Comments
 (0)