aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorAnil Wadghule <anildigital@gmail.com>2010-04-12 23:45:24 +0530
committerwycats <wycats@gmail.com>2010-04-12 21:13:19 -0700
commit219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba (patch)
treee6d12194445d2e17fdd87d3746cb41c9462961b7 /ci
parenta64bfc3c8e2a62b39f3cf8497c2a5a82272bd27a (diff)
downloadrails-219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba.tar.gz
rails-219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba.tar.bz2
rails-219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba.zip
Replace deprecated RAILS_ROOT to Rails.env [#4373 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'ci')
-rw-r--r--ci/site_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/site_config.rb b/ci/site_config.rb
index 47b7e92120..ac7f658237 100644
--- a/ci/site_config.rb
+++ b/ci/site_config.rb
@@ -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