Fix RAILS_ROOT use.