diff --git a/lib/haml.rb b/lib/haml.rb index 1d2b98e0..7b715e5d 100644 --- a/lib/haml.rb +++ b/lib/haml.rb @@ -880,7 +880,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir) # module Haml # A string representing the version of Haml - VERSION = File.read(File.dirname(__FILE__) + '/../VERSION').strip + VERSION = File.read(File.dirname(__FILE__) + '/../VERSION').strip unless defined?(VERSION) # This method is called by init.rb, # which is run by Rails on startup.