Switch to Rails.root

Switch from RAILS_ROOT (no longer supported) to Rails.root