Commit 782474de authored by nazarf's avatar nazarf

set base config

parent 545fccef
...@@ -14,8 +14,8 @@ require 'capistrano/bundler' ...@@ -14,8 +14,8 @@ require 'capistrano/bundler'
require 'capistrano/rails' require 'capistrano/rails'
require 'capistrano/faster_assets' require 'capistrano/faster_assets'
require 'capistrano/scm/svn' require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Svn install_plugin Capistrano::SCM::Git
# Load custom tasks from `lib/capistrano/tasks` if you have any defined # Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
......
server '192.168.252.253', user: 'deploy', roles: %w{app db web} server '192.168.252.253', user: 'deploy', roles: %w{app db web}
# set :rvm_custom_path, '/usr/local/rvm' # only needed if not detected # set :rvm_custom_path, '/usr/local/rvm' # only needed if not detected
set :branch, ENV['BRANCH'] if ENV['BRANCH']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment