Heroku

herokuからcloneできないソースコードをサルベージする

太古の昔にデプロイしていたサービスでgit管理もしていなくて、でもherokuにはソースコードがあるはず…。といったコードをサルベージする方法を書き残します。 heroku remoteからgit cloneできればよかったんですが、できなかった(時間が経ちすぎた?)ので…

Missing `secret_token` and `secret_key_base` for 'production' environment, set these values in `config/secrets.yml`

rails newして、herokuにデプロイしてアクセスしたけど、以下のメッセージが表示される Missing `secret_token` and `secret_key_base` for 'production' environment, set these values in `config/secrets.yml` 以下のファイルを.gitignoreからコメントア…