From cf14f9ee7aff3f9fdfbcf34ea9265ebc7b4525b0 Mon Sep 17 00:00:00 2001 From: Ismail Akbudak Date: Mon, 24 Aug 2015 14:56:51 +0300 Subject: [PATCH] fix user --- templates/config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/config/deploy.rb b/templates/config/deploy.rb index 74bfb21..357ff76 100644 --- a/templates/config/deploy.rb +++ b/templates/config/deploy.rb @@ -11,7 +11,7 @@ # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp # Default deploy_to directory is /var/www/blog2 -set :deploy_to, "/home/#{local_user}/apps/#{fetch(:application)}" +set :deploy_to, "/home/#{fetch(:local_user)}/apps/#{fetch(:application)}" # Default value for :scm is :git set :scm, :git