Resolve "undefined method `log='" in rake app:generate_secret.