Browse files

RAILS_ROOT is deprecated! Use Rails.root instead.

  • Loading branch information...
1 parent 765501b commit 121c19de6df56008ea95426ce5d35777e04f64cd @ihower committed May 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.rb
View
2 install.rb
@@ -2,7 +2,7 @@
puts 'Copying files...'
-public_path = File.join(RAILS_ROOT, 'public')
+public_path = File.join(Rails.root, 'public')
current_path = File.join(File.dirname(__FILE__), 'media')
javascripts_path = File.join(public_path, 'javascripts')

0 comments on commit 121c19d

Please sign in to comment.