change RAILS_ROOT to Rails.root