diff --git a/lib/recap/tasks/env.rb b/lib/recap/tasks/env.rb index 662eb8a..ad2fc81 100644 --- a/lib/recap/tasks/env.rb +++ b/lib/recap/tasks/env.rb @@ -24,7 +24,7 @@ module Recap::Tasks::Env extend Recap::Support::Namespace namespace :env do - _cset(:environment_file) { "/home/#{application_user}/.env" } + _cset(:environment_file) { "`echo ~#{application_user}`/.env" } # The `env` task displays the current configuration environment. Note that this doesn't # include all environment variables, only those stored in the `.env` file.