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...

...are sensitive and must not be stored on your machine. Instead, put the attached capistrano task into lib/capistrano/tasks/ of your application. It expects environment specific keys to live in :shared...

...path/config/credentials/:stage.key. If you have a single master.key (e.g. on Rails < 7.2), edit the Capistrano task to find the key at :shared_path/config/master.key instead. Usage cap credentials:edit

Search in all decks