Posted 10 months ago. Visible to the public.

Capistrano: Install Capistrano 3 for your project

First, in your project, you need to install Capistrano 3 for Rails. You can find the official documentation here.

So your Gemfile should have content along these lines somewhere:

Copy
group :development do gem 'capistrano', '~> 3.10', require: false gem 'capistrano-rails', '~> 1.3', require: false end

You should already have the bundler Gem installed, so you can install all necessary Gems for your Project by simply executing bundle.

Copy
$ bundle

After this you will have Capistrano 3 installed and can now use it to set up the deployment tasks for the staging and production environment your Project:

Copy
$ bundle exec cap install STAGES=staging,production

Owner of this card:

Avatar
Marius Schuller
Last edit:
10 months ago
by Stefan Langenmaier
Posted by Marius Schuller to opscomplete
This website uses cookies to improve usability and analyze traffic.
Accept or learn more