You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1005 B

  1. # Load DSL and Setup Up Stages
  2. require 'capistrano/setup'
  3. # Includes default deployment tasks
  4. require 'capistrano/deploy'
  5. require 'capistrano/bundler'
  6. require 'capistrano/rbenv'
  7. require 'capistrano/rails'
  8. #require 'whenever/capistrano'
  9. require 'capistrano/delayed-job'
  10. set :rbenv_type, :user # or :system, depends on your rbenv setup
  11. set :rbenv_ruby, '2.3.3'
  12. # Includes tasks from other gems included in your Gemfile
  13. #
  14. # For documentation on these, see for example:
  15. #
  16. # https://github.com/capistrano/rvm
  17. # https://github.com/capistrano/rbenv
  18. # https://github.com/capistrano/chruby
  19. # https://github.com/capistrano/bundler
  20. # https://github.com/capistrano/rails
  21. #
  22. # require 'capistrano/rvm'
  23. # require 'capistrano/rbenv'
  24. # require 'capistrano/chruby'
  25. # require 'capistrano/bundler'
  26. # require 'capistrano/rails/assets'
  27. # require 'capistrano/rails/migrations'
  28. # Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
  29. Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }