Sabzdish

Capfile for Rails deploy

Aug 14th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.79 KB | None | 0 0
  1. # Load DSL and Setup Up Stages
  2. require 'capistrano/setup'
  3.  
  4. # Includes default deployment tasks
  5. require 'capistrano/deploy'
  6.  
  7. # Includes tasks from other gems included in your Gemfile
  8. #
  9. # For documentation on these, see for example:
  10. #
  11. #   https://github.com/capistrano/rvm
  12. #   https://github.com/capistrano/rbenv
  13. #   https://github.com/capistrano/chruby
  14. #   https://github.com/capistrano/bundler
  15. #   https://github.com/capistrano/rails
  16. #
  17. require 'capistrano/rvm'
  18. #require 'capistrano/rbenv'
  19. require 'capistrano/bundler'
  20. require 'capistrano/rails'
  21. # require 'capistrano/chruby'
  22. # require 'capistrano/rails/assets'
  23. # require 'capistrano/rails/migrations'
  24.  
  25. # Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
  26. Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
Advertisement
Add Comment
Please, Sign In to add comment