Guest User

Untitled

a guest
Jul 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. namespace :db do
  2. desc "Make symlink for database yaml"
  3. task :symlink do
  4. run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"
  5. end
  6. end
  7.  
  8. ## Error
  9.  
  10. * executing "find /home/ellis/www/picpocket/releases/20100105100458/public/images /home/ellis/www/picpocket/releases/20100105100458/public/stylesheets /home/ellis/www/picpocket/releases/20100105100458/public/javascripts -exec touch -t 201001051005.13 {} ';'; true"
  11. servers: ["10.0.1.10"]
  12. [10.0.1.10] executing command
  13. ** [out :: 10.0.1.10] find: `/home/ellis/www/picpocket/releases/20100105100458/public/stylesheets': No such file or directory
  14. command finished
  15. * executing `deploy:symlink'
  16. * executing "rm -f /home/ellis/www/picpocket/current && ln -s /home/ellis/www/picpocket/releases/20100105100458 /home/ellis/www/picpocket/current"
  17. servers: ["10.0.1.10"]
  18. [10.0.1.10] executing command
  19. command finished
  20. ** transaction: commit
  21. Ellis:picpocket ellis$ cap db:symlink
  22. * executing `db:symlink'
  23. * executing "ln -nfs /home/ellis/www/picpocket/shared/config/database.yml /home/ellis/www/picpocket/releases/20100105100606/config/database.yml"
  24. servers: ["10.0.1.10"]
  25. Password:
  26. [10.0.1.10] executing command
  27. ** [out :: 10.0.1.10] ln: creating symbolic link `/home/ellis/www/picpocket/releases/20100105100606/config/database.yml': No such file or directory
  28. command finished
  29. failed: "sh -c 'ln -nfs /home/ellis/www/picpocket/shared/config/database.yml /home/ellis/www/picpocket/releases/20100105100606/config/database.yml'" on 10.0.1.10
Add Comment
Please, Sign In to add comment