# CAPISTRANO CAPFILE_VERSION = "<%= Negroku::VERSION %>" # Load DSL and Setup Up Stages require 'active_support/all' require 'capistrano/setup' # Includes default deployment tasks require 'capistrano/deploy' # Osx notifications require 'capistrano-nc/nc' # Github deployments require 'capistrano/github' # Ruby <%= "#" unless config.rbenv.enabled? %>require 'capistrano/rbenv' <%= "#" unless config.bundler.enabled? %>require 'capistrano/bundler' <%= "#" unless config.rails.enabled? %>require 'capistrano/rails/assets' <%= "#" unless config.rails.enabled? %>require 'capistrano/rails/migrations' <%= "#" unless config.rails.enabled? %>require 'capistrano/rails/console' # Node <%= "#" unless config.nodenv.enabled? %>require 'capistrano/nodenv' <%= "#" unless config.bower.enabled? %>require 'capistrano/bower' # App server <%= "#" unless config.unicorn.enabled? %>require 'capistrano3/unicorn' <%= "#" unless config.puma.enabled? %>require 'capistrano/puma' # Static server <%= "#" unless config.nginx.enabled? %>require 'capistrano/nginx' # Tools <%= "#" unless config.delayed_job.enabled? %>require 'capistrano/delayed-job' <%= "#" unless config.whenever.enabled? %>require 'whenever/capistrano' <%= "#" unless config.sphinx.enabled? %>require 'thinking_sphinx/capistrano' # Eye monitoring require 'negroku/capistrano/eye' <%= "#" unless config.unicorn.enabled? %>require 'negroku/capistrano/eye/unicorn' <%= "#" unless config.puma.enabled? %>require 'negroku/capistrano/eye/puma' <%= "#" unless config.delayed_job.enabled? %>require 'negroku/capistrano/eye/delayed_job' <%= "#" unless config.sphinx.enabled? %>require 'negroku/capistrano/eye/thinking_sphinx' # NEGROKU # Includes negroku defaults, tasks and check for updates require 'negroku/capistrano/deploy' require 'negroku/capistrano/update' # Loads custom tasks from `lib/capistrano/tasks' if you have any defined. Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }