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:
parent
e4e1ba2828
commit
cf01a9290e
1 changed files with 4 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue