Remove rails env from post ruby hook