Commit fbbbdbd24720cc8a02cbc16c28676a0d50043f9e
1 parent
f097a4c0
Exists in
colab
and in
4 other branches
WIP deploy to NuvemUSP
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
config/deploy.rb
| @@ -22,7 +22,7 @@ set :user, 'mezuro' | @@ -22,7 +22,7 @@ set :user, 'mezuro' | ||
| 22 | # RVM | 22 | # RVM |
| 23 | set :rvm_ruby_string, :local # use the same ruby as used locally for deployment | 23 | set :rvm_ruby_string, :local # use the same ruby as used locally for deployment |
| 24 | set :rvm_autolibs_flag, "read-only" # more info: rvm help autolibs | 24 | set :rvm_autolibs_flag, "read-only" # more info: rvm help autolibs |
| 25 | -set :rvm_type, :user | 25 | +set :rvm_type, :system |
| 26 | set :rvm_install_with_sudo, true | 26 | set :rvm_install_with_sudo, true |
| 27 | 27 | ||
| 28 | namespace :deploy do | 28 | namespace :deploy do |
config/deploy/production.rb
| @@ -15,7 +15,7 @@ set :stage, :production | @@ -15,7 +15,7 @@ set :stage, :production | ||
| 15 | # definition into the server list. The second argument | 15 | # definition into the server list. The second argument |
| 16 | # something that quacks like a hash can be used to set | 16 | # something that quacks like a hash can be used to set |
| 17 | # extended properties on the server. | 17 | # extended properties on the server. |
| 18 | -server 'mezuro.org', user: 'mezuro', roles: %w{web app db} | 18 | +server '200.144.254.82', user: 'mezuro', roles: %w{web app db} |
| 19 | 19 | ||
| 20 | # you can set custom ssh options | 20 | # you can set custom ssh options |
| 21 | # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options | 21 | # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options |