replace rails root