Replace deprecated RAILS_ROOT to Rails.env [#4373 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
This commit is contained in:
parent
a64bfc3c8e
commit
219c81b9e1
|
@ -69,4 +69,4 @@ BuildReaper.number_of_builds_to_keep = 100
|
|||
|
||||
# any files that you'd like to override in cruise, keep in ~/.cruise, and copy over when this file is loaded like this
|
||||
site_css = CRUISE_DATA_ROOT + "/site.css"
|
||||
FileUtils.cp site_css, RAILS_ROOT + "/public/stylesheets/site.css" if File.exists? site_css
|
||||
FileUtils.cp site_css, Rails.root + "/public/stylesheets/site.css" if File.exists? site_css
|
||||
|
|
Loading…
Reference in New Issue