Fix deployment
This commit is contained in:
parent
d8c6ec8f0b
commit
8fdaf44115
4 changed files with 6 additions and 7 deletions
|
@ -1 +1 @@
|
|||
2.2.0
|
||||
2.2.2
|
||||
|
|
4
Capfile
4
Capfile
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue