Add ruby version and king

This commit is contained in:
Tom Naessens 2015-03-19 22:53:49 +01:00
parent 1e0f04ada2
commit c20aec9099
2 changed files with 9 additions and 0 deletions

1
.ruby-version Normal file
View file

@ -0,0 +1 @@
2.2.0

8
config/deploy/king.rb Normal file
View file

@ -0,0 +1,8 @@
server 'king.ugent.be', user: 'tab', roles: %w{web app db},
ssh_options: {
forward_agent: true,
auth_methods: ['publickey'],
port: 2222
}
set :rails_env, 'production'