set :domain, "<%=@domain%>"

set :branch, "<%=@branch%>"

set :app_parent_directory, "<%=@app_parent_directory %>"
set :deploy_to, "<%=@deploy_to%>"

set_default(:stage, "<%=@stage_name%>")
set_default(:stage_db_user, "<%=@application_name%>_<%=@stage_name%>"")

set :domain, "<%=@domain%>"

set :branch, "<%=@branch%>"

set :app_parent_directory, "<%=@app_parent_directory %>"
set :deploy_to, "<%=@deploy_to%>"

set_default(:stage, "<%=@stage_name%>")
set_default(:stage_db_user, "<%=@application_name%>_<%=@stage_name%>")

Remove extra double quotes in stages file
Remove extra double quotes in stages file