Imolog

技術的備忘録

Capistrano

Capistrano3でRails4のデプロイ(1)

普段はminaを利用してデプロイ作業を行っていますが、世間では[Capistrano](http://capistranorb.com/)がスタンダードらしいです。 今回はCapistranoを利用する方法を書いていきます。 ## 環境 - Ruby 2.1.3 - Rails 4.1.6 - mysql 5.6.21 - Capistrano 3.2.…

Capistrano3でRails4のデプロイ(2)

普段使うデプロイコマンドを書き出していきます。 Capistranoのデプロイコマンド一覧 ``` bundle exec cap -T cap bundler:install # Install the current Bundler environment cap bundler:map_bins # Maps all binaries to use `bundle exec` by default c…