Skip to content
This repository
Browse code

Replace deprecated RAILS_ROOT to Rails.env [#4373 state:resolved]

Signed-off-by: wycats <wycats@gmail.com>
  • Loading branch information...
commit 219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba 1 parent a64bfc3
Anil Wadghule authored April 12, 2010 wycats committed April 12, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ci/site_config.rb
2  ci/site_config.rb
@@ -69,4 +69,4 @@
69 69
 
70 70
 # any files that you'd like to override in cruise, keep in ~/.cruise, and copy over when this file is loaded like this
71 71
 site_css = CRUISE_DATA_ROOT + "/site.css"
72  
-FileUtils.cp site_css, RAILS_ROOT + "/public/stylesheets/site.css" if File.exists? site_css
  72
+FileUtils.cp site_css, Rails.root + "/public/stylesheets/site.css" if File.exists? site_css

0 notes on commit 219c81b

Please sign in to comment.
Something went wrong with that request. Please try again.