Skip to content
Browse files

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

Signed-off-by: wycats <>
  • Loading branch information...
1 parent a64bfc3 commit 219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba @anildigital anildigital committed with wycats Apr 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 ci/site_config.rb
2 ci/site_config.rb
@@ -69,4 +69,4 @@
# 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

0 comments on commit 219c81b

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