setup root path for rails and ember