replace RAILS_ROOT