1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/lib/haml/root.rb
Nathan Weizenbaum e11a497ef1 Support appengine-jruby.
The problem was that File.expand_path("../../..", __FILE__) broke
because appengine-jruby packs everything into JARs.
This meant that __FILE__ was a fancy URL,
which caused File.expand_path to choke when used as the second argument.
2010-06-05 18:00:43 -07:00

7 lines
258 B
Ruby

module Haml
# The root directory of the Haml source tree.
# This may be overridden by the package manager
# if the lib directory is separated from the main source tree.
# @api public
ROOT_DIR = File.expand_path(File.join(__FILE__, "../../.."))
end