lib/ms_deploy/recipes/rbenv.rb in ms_deploy-0.2.5 vs lib/ms_deploy/recipes/rbenv.rb in ms_deploy-0.3.0

- old
+ new

@@ -1,7 +1,7 @@ Capistrano::Configuration.instance.load do abort "You must set :user before using defaults" unless fetch(:user) set :default_environment, { - 'PATH' => "/home/#{user}/.rbenv/shims:/home/#{user}/.rbenv/bin:$PATH" + 'PATH' => "/home/#{fetch(:user)}/.rbenv/shims:/home/#{fetch(:user)}/.rbenv/bin:$PATH" } end