diff --git a/Capfile b/Capfile index b475383..b3f7a87 100644 --- a/Capfile +++ b/Capfile @@ -10,6 +10,7 @@ require 'capistrano/deploy' require 'capistrano/scm/git' install_plugin Capistrano::SCM::Git +require 'capistrano/rvm' require 'capistrano/bundler' require 'capistrano/rails/assets' require 'capistrano/rails/migrations' diff --git a/Gemfile b/Gemfile index d474f6f..e3c80c1 100644 --- a/Gemfile +++ b/Gemfile @@ -141,6 +141,9 @@ group :development do # on multiple remote machines, via SSH. gem 'capistrano', '~> 3.11', require: false + # RVM integration for Capistrano. + gem 'capistrano-rvm', '~> 0.1', require: false + # Rails specific Capistrano tasks. gem 'capistrano-rails', '~> 1.4', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 173b32f..d1e3791 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -84,6 +84,9 @@ GEM capistrano-rails-console (2.3.0) capistrano (>= 3.5.0, < 4.0.0) sshkit-interactive (~> 0.3.0) + capistrano-rvm (0.1.2) + capistrano (~> 3.0) + sshkit (~> 1.2) capybara (3.13.2) addressable mini_mime (>= 0.1.3) @@ -443,6 +446,7 @@ DEPENDENCIES capistrano-npm (~> 1.0) capistrano-rails (~> 1.4) capistrano-rails-console (~> 2.3) + capistrano-rvm (~> 0.1) capybara-screenshot (~> 1.0) coveralls cucumber-rails (~> 1.6)