lib/railman/tasks/set_railman_env.rake in railman-deployment-1.0.4 vs lib/railman/tasks/set_railman_env.rake in railman-deployment-1.1.0

- old
+ new

@@ -1,6 +1,9 @@ task :set_railman_env do set :deploy_to, "/home/deploy/apps/#{fetch(:application)}" + if fetch(:spa_application) + set :deploy_spa_to, "/home/deploy/sites/#{fetch(:spa_application)}" + end set :rbenv_home, '/home/deploy/.rbenv' set :environment, {path: "#{fetch(:rbenv_home)}/shims:#{fetch(:rbenv_home)}/bin:$PATH", rails_env: 'production'} SSHKit.config.command_map[:rake] = "#{fetch(:deploy_to)}/bin/rake" %w(ln cp service start restart stop status certbot).each do |cmd|