Removing deprecated RAILS_ROOT from tasks.