example/config/deploy.rb in capistrano-bundle_rsync-0.3.3 vs example/config/deploy.rb in capistrano-bundle_rsync-0.4.0

- old
+ new

@@ -1,12 +1,12 @@ -set :user, 'game' +set :user, `whoami`.chomp set :ssh_options, user: ENV['USER'], keys: [File.expand_path('~/.ssh/id_rsa')] # set :default_env, { path: "/opt/ruby/bin:$PATH" } set :linked_dirs, %w(log tmp/pids vendor/bundle) set :keep_releases, 5 set :rbenv_type, :user -set :rbenv_ruby, '2.1.5' +set :rbenv_ruby, RUBY_VERSION # '2.1.5' set :deploy_to, "#{ENV['HOME']}/sample" set :scm, :bundle_rsync set :bundle_rsync_max_parallels, ENV['PARA'] set :bundle_rsync_rsync_bwlimit, ENV['BWLIMIT'] # like 20000