Advertisement
Guest User

Untitled

a guest
Aug 27th, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.30 KB | None | 0 0
  1. # Chmod on app/cache and app/logs dirs
  2. task :cache_logs_chmod, :roles => :web do
  3.     capifony_pretty_print "--> Chmod 777 cache and logs directories"
  4.  
  5.     run "#{try_sudo} chmod 777 -R #{current_path}/app/logs"
  6.     run "#{try_sudo} chmod 777 -R #{current_path}/app/cache"
  7.  
  8.     capifony_puts_ok
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement