Advertisement
leo91000

Untitled

Dec 27th, 2017
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. # Load DSL and set up stages
  2. require "capistrano/setup"
  3.  
  4. # Include default deployment tasks
  5. require "capistrano/deploy"
  6.  
  7. # Load the SCM plugin appropriate to your project:
  8. #
  9. # require "capistrano/scm/hg"
  10. # install_plugin Capistrano::SCM::Hg
  11. # or
  12. # require "capistrano/scm/svn"
  13. # install_plugin Capistrano::SCM::Svn
  14. # or
  15. require "capistrano/scm/git"
  16. install_plugin Capistrano::SCM::Git
  17.  
  18. # Include tasks from other gems included in your Gemfile
  19. #
  20. # For documentation on these, see for example:
  21. #
  22. # https://github.com/capistrano/rvm
  23. # https://github.com/capistrano/rbenv
  24. # https://github.com/capistrano/chruby
  25. # https://github.com/capistrano/bundler
  26. # https://github.com/capistrano/rails
  27. # https://github.com/capistrano/passenger
  28. #
  29. # require "capistrano/rvm"
  30. # require "capistrano/rbenv"
  31. # require "capistrano/chruby"
  32. # require "capistrano/bundler"
  33. # require "capistrano/rails/assets"
  34. # require "capistrano/rails/migrations"
  35. # require "capistrano/passenger"
  36. require 'capistrano/rails/console'
  37.  
  38. # Load custom tasks from `lib/capistrano/tasks` if you have any defined
  39. Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
  40.  
  41. require 'capistrano/rails'
  42. require 'capistrano/passenger'
  43.  
  44. # If you are using rbenv add these lines:
  45. require 'capistrano/rbenv'
  46. set :rbenv_type, :user
  47. set :rbenv_ruby, '2.4.3'
  48.  
  49. # If you are using rvm add these lines:
  50. # require 'capistrano/rvm'
  51. # set :rvm_type, :user
  52. # set :rvm_ruby_version, '2.4.3'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement