lib/capistrano/recipes/application.rb in marcosgz-cap-recipe-0.0.6 vs lib/capistrano/recipes/application.rb in marcosgz-cap-recipe-0.0.7
- old
+ new
@@ -17,14 +17,14 @@
namespace :create do
task :dirs, :roles => :app do
deploy.setup
- commands = %w(config uploads backup bundle pids tmp/cache public/cache public/assets).map do |path|
+ commands = %w(config uploads backup bundle pids tmp/cache public/cache).map do |path|
"if [ ! -d '#{path}' ]; then mkdir -p #{path}; fi;"
end
run "cd #{shared_path}; #{commands.join(' ')}"
- run "chmod 777 #{shared_path}/public/cache #{shared_path}/public/assets #{shared_path}/tmp/cache"
+ run "chmod 777 #{shared_path}/public/cache #{shared_path}/tmp/cache"
end
task :application_server, :roles => :app do
# App Server