Skip to content

Commit

Permalink
Replace deprecated RAILS_ROOT to Rails.env [#4373 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: wycats <wycats@gmail.com>
  • Loading branch information
anildigital authored and wycats committed Apr 13, 2010
1 parent a64bfc3 commit 219c81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/site_config.rb
Expand Up @@ -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.