public
Rubygem
Fork of nex3/haml
Description: HTML Abstraction Markup Language - A Markup Haiku
Homepage: http://haml.hamptoncatlin.com
Clone URL: git://github.com/chriseppstein/haml.git
Guard against VERSION already initialized warning when running rake
kamal (author)
Sun Mar 16 02:11:46 -0700 2008
nex3 (committer)
Sun Mar 16 19:34:33 -0700 2008
commit  e817beea3cb18695e5ab3230c26f8b9f334ef5ce
tree    ce3474198c25347dd7946d96fa3ca2c514000366
parent  6ec003aaa57de71dbaf4fefa97da7d6b2617eadd
...
880
881
882
883
 
884
885
886
...
880
881
882
 
883
884
885
886
0
@@ -880,7 +880,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
0
 #
0
 module Haml
0
   # A string representing the version of Haml
0
- VERSION = File.read(File.dirname(__FILE__) + '/../VERSION').strip
0
+ VERSION = File.read(File.dirname(__FILE__) + '/../VERSION').strip unless defined?(VERSION)
0
 
0
   # This method is called by init.rb,
0
   # which is run by Rails on startup.

Comments

    No one has commented yet.