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

Conditionally define RAILS_ROOT.

This commit is contained in:
Mislav Marohnić 2008-09-22 09:20:51 +02:00 committed by Nathan Weizenbaum
parent e4e1ba2828
commit cf01a9290e

View file

@ -18,5 +18,7 @@ require 'haml'
require 'sass'
# required because of Sass::Plugin
RAILS_ROOT = '.'
MERB_ENV = RAILS_ENV = 'testing'
unless defined? RAILS_ROOT
RAILS_ROOT = '.'
MERB_ENV = RAILS_ENV = 'testing'
end