Doesn't pass rails env in application controller.