switched out RAILS_ROOT with Rails.root