明けましておめでとうございます。新年一発目としてどうかなと思いながらも毎度ながら技術メモ。 去年、ずっとやりたくて、ずっとはまり続けたこのRedmine2をHerokuで動かす計画。 正直、あまりRailsのことも、Herokuのことも理解が浅かったのがそもそもの原因かなと。 ただ、今回、いろいろ参考にして、久々に取り組んだらあっさりできてしまったので、シェルスクリプトでも置いておく。 Redmine2.2をHerokuにデプロイする 途中、vimで開いて編集する箇所がいくつかあるけど、まずは一通りシェルを動かす。 シェルを動かすと、都度vimが起動するので順番に編集。 まずは、.gitignoreの以下の行を削除。 1 2 3 4 5 6 7 8 # *1 Gemfile.lock Gemfile.local public/plugin_assets config/initializer