setup rails config