Posted over 3 years 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 Archive .

So your Gemfile should have content along these lines somewhere:

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.

$ bundle

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

$ bundle exec cap install STAGES=staging,production

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for unsupported versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2).

Owner of this card:

Marius Schuller
Last edit:
11 months ago
by Marius Schuller
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Marius Schuller to opscomplete
This website uses short-lived cookies to improve usability.
Accept or learn more