Fixing places that call RAILS_ROOT