lib/deployment.rb in picky-0.0.4 vs lib/deployment.rb in picky-0.0.5
- old
+ new
@@ -124,10 +124,10 @@
run "rm -rf #{current_path}/log; ln -sf #{shared_path}/log #{current_path}/log"
run "rm -rf #{current_path}/index; ln -sf #{shared_path}/index #{current_path}/index"
# link database-config files
run "ln -sf #{shared_path}/app/db.yml #{current_path}/app/db.yml"
# link unicorn.ru
- run "ln -sf #{shared_path}/app/unicorn.ru #{current_path}/app/unicorn.ru"
+ run "ln -sf #{shared_path}/unicorn.ru #{current_path}/unicorn.ru"
end
namespace :rollback do
desc "Rollback to last release."
task :default, :roles => :app do
\ No newline at end of file