lib/negroku/tasks/rbenv.rake in negroku-2.0.0.pre6 vs lib/negroku/tasks/rbenv.rake in negroku-2.0.0.pre7

- old
+ new

@@ -15,10 +15,16 @@ # Set the path to rbenv set :rbenv_path, "/home/deploy/.rbenv" end end +namespace :env do + desc 'Env variables changed' + task :changed do + end +end + namespace :rbenv do namespace :vars do desc "Show current environmental variables" task :show do on release_roles :app do @@ -61,16 +67,10 @@ execute :touch, ".rbenv-vars" end end end - before 'rbenv:vars:add', 'env:changed' - before 'rbenv:vars:remove', 'env:changed' + after 'rbenv:vars:add', 'env:changed' + after 'rbenv:vars:remove', 'env:changed' - end -end - -namespace :env do - desc 'Env variables changed' - task :changed do end end