mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00

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.
7 lines
258 B
Ruby
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
|