aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-04-01 10:50:05 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-04-01 10:50:05 +0200
commit9bc91db6edc280012b370595c06f851f0ae4666f (patch)
tree055127aba9cbb6e7d02c0ebdd58fe872f6bdc733
parente4dec2bc26ef55c550c91c329f382bc6f087284b (diff)
downloadhmnoweb-9bc91db6edc280012b370595c06f851f0ae4666f.tar.gz
hmnoweb-9bc91db6edc280012b370595c06f851f0ae4666f.tar.bz2
hmnoweb-9bc91db6edc280012b370595c06f851f0ae4666f.zip
Use capistrano/rbenv to ensure we have the right ruby.
-rw-r--r--Capfile2
-rw-r--r--Gemfile1
2 files changed, 2 insertions, 1 deletions
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