Fix deployment

This commit is contained in:
Tom Naessens 2015-09-01 15:05:56 +02:00
parent d8c6ec8f0b
commit 8fdaf44115
4 changed files with 6 additions and 7 deletions

View file

@ -1 +1 @@
2.2.0
2.2.2

View file

@ -5,8 +5,8 @@ require 'capistrano/setup'
require 'capistrano/deploy'
require 'capistrano/rails'
#require 'capistrano/rbenv'
require 'capistrano/rvm'
require 'capistrano/rbenv'
#require 'capistrano/rvm'
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }

View file

@ -1,8 +1,9 @@
server 'zeus.ugent.be', user: 'tab', roles: %w{web app db},
ssh_options: {
server 'zeus.ugent.be', user: 'tab', roles: %w{web app db}, ssh_options: {
forward_agent: true,
auth_methods: ['publickey'],
port: 2222
}
set :rails_env, 'production'
set :rbenv_type, :system
set :rbenv_ruby, File.read('.ruby-version').strip

View file

@ -6,5 +6,3 @@ server 'king.ugent.be', user: 'tab', roles: %w{web app db},
}
set :rails_env, 'production'
set :rbenv_type, :system
set :rbenv_ruby, File.read('.ruby-version').strip