RAILS_ROOT/RAILS_ENV compatibility updates