Twitter bot等をRailsで作った際にGitHubにアクセストークン等が公開されてしまうので、それを回避しつつHeroku上で動かすということができないか考えていました。 また、今回はHerokuとGitHubが紐づけされていて、Automatic deploysが有効になっていることを想定しています。 gemのダウンロード
前にTwitterでHerokuなるものを知ってアカウントとっていざ使うってなったのはいいけどどうしてもgit pushのところでパーミッションエラーが起きてしまった。 問題だと思われる原因は2つある。 1つは単純にpublic keyの登録を忘れている。それなら $ heroku keys:add を使えばすぐ解決する。 もう一つは ~/.ssh/configに設定をしてない場合に発生する。 今回のうちの問題は後者だった。 うちの~/.ssh/configを晒すと Host github.com User git port 22 Hostname github.com IdentityFile ~/.ssh/github_id_rsa TCPKeepAlive yes IdentitiesOnly yes Host heroku.com User git port 22 Hostname
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く