wiki

...your Gemfile next lines into development group: gem 'oz_capistrano_rsync_with_remote_cache' gem 'capistrano-deploy-scm-passthrough' and change deploy.rb like this: require 'rvm/capistrano' require 'bundler/capistrano' set :application...

robmclarty.com

Install capistrano: add to Gemfile group :development do gem 'capistrano' gem 'rvm-capistrano' end Then cd to project root folder and run: bundle install capify . setup your config/deploy.rb file, here...

Best results in other decks

When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit which was deployed. If you want to know the currently...

...deployed release, simply SSH to a server and view that file. $ cat /var/www/my-project/current/REVISION cf8734ece3938fc67262ad5e0d4336f820689307 Capistrano task When your application is deployed to multiple servers, you probably want to see a...

github.com

...restart-app /path/to/app You should not need to know which one to use. Instead, the capistrano-passenger gem will choose the appropriate restart mechanism automatically based on your installed the...

...passenger version. Installation Add to your Gemfile: gem 'capistrano-passenger', require: false Add to your Capfile: require 'capistrano/passenger' Declare which server role should be restarted (optional). Usually passenger tries to...

Search in all decks