moved rails dir to root