From 9bc91db6edc280012b370595c06f851f0ae4666f Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 1 Apr 2018 10:50:05 +0200 Subject: Use capistrano/rbenv to ensure we have the right ruby. --- Capfile | 2 +- Gemfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Capfile b/Capfile index 735eb24..ce9b649 100644 --- a/Capfile +++ b/Capfile @@ -22,7 +22,7 @@ require 'capistrano/scm/git' require 'capistrano/rails/assets' require 'capistrano/rails/migrations' require 'capistrano/postgresql' -# require 'capistrano/passenger' +require 'capistrano/rbenv' install_plugin Capistrano::SCM::Git diff --git a/Gemfile b/Gemfile index f02cadd..cb1ae71 100644 --- a/Gemfile +++ b/Gemfile @@ -24,6 +24,7 @@ group :deployment do gem 'capistrano', '~> 3.10.0' gem 'capistrano-bundler' gem 'capistrano-rails' + gem 'capistrano-rbenv', '~> 2.1' gem 'capistrano-postgresql', '~> 4.7.0' end -- cgit v1.2.3