X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=Capfile;h=3a9dac779bd038041b983e44da3b8c163248d7b4;hb=HEAD;hp=c36d48d211d6f61b7553a17d7f47853c22415f95;hpb=0f4b492932a509694b7621c1198da336af75e582;p=feedcatcher.git diff --git a/Capfile b/Capfile index c36d48d..3a9dac7 100644 --- a/Capfile +++ b/Capfile @@ -1,3 +1,26 @@ -load 'deploy' if respond_to?(:namespace) # cap2 differentiator -Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } -load 'config/deploy' \ No newline at end of file +# Load DSL and Setup Up Stages +require 'capistrano/setup' + +# Includes default deployment tasks +require 'capistrano/deploy' + +# Includes tasks from other gems included in your Gemfile +# +# For documentation on these, see for example: +# +# https://github.com/capistrano/rvm +# https://github.com/capistrano/rbenv +# https://github.com/capistrano/chruby +# https://github.com/capistrano/bundler +# https://github.com/capistrano/rails/tree/master/assets +# https://github.com/capistrano/rails/tree/master/migrations +# +require 'capistrano/rvm' +# require 'capistrano/rbenv' +# require 'capistrano/chruby' +require 'capistrano/bundler' +require 'capistrano/rails/assets' +require 'capistrano/rails/migrations' + +# Loads custom tasks from `lib/capistrano/tasks' if you have any defined. +Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }