lib/caploy/recipes/defaults.rb in caploy-0.2.4 vs lib/caploy/recipes/defaults.rb in caploy-0.2.5

- old
+ new

@@ -32,10 +32,10 @@ end namespace :cache do desc "Flush cache" task :clear, :roles => :cache do - run "cd #{current_path} && #{rake} cache:clear RAILS_ENV=#{stage}" + run "cd #{current_path} && #{rake} cache:clear RAILS_ENV=#{rails_env}" end end task :set_branch_info_file, :roles => :app do run "cd #{release_path} && echo \"#{branch}\" > CURRENT_BRANCH"