Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Signed-off-by: wycats <>
  • Loading branch information...
commit 219c81b9e1cdd81a3a8c4cda5718f17454e1a5ba 1 parent a64bfc3
@anildigital anildigital authored wycats committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.