removed the double nested rails directory in replace for one