# https://github.com/capistrano/rails/tree/master/assets
# https://github.com/capistrano/rails/tree/master/migrations
#
-# require 'capistrano/rvm'
+require 'capistrano/rvm'
# require 'capistrano/rbenv'
# require 'capistrano/chruby'
-# require 'capistrano/bundler'
-# require 'capistrano/rails/assets'
-# require 'capistrano/rails/migrations'
+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 }
# gem 'unicorn'
# Use Capistrano for deployment
-gem 'capistrano', group: :development
-
+group :development do
+ gem 'capistrano', '~> 3.0'
+ gem 'capistrano-rails', '~> 1.1'
+ gem 'capistrano-bundler','>= 1.1.0'
+ gem 'capistrano-rvm'
+end
# Use debugger
# gem 'debugger', group: [:development, :test]
i18n
rake (>= 10.0.0)
sshkit (>= 0.0.23)
+ capistrano-bundler (1.1.1)
+ capistrano (~> 3.0)
+ sshkit (>= 1.2.0)
+ capistrano-rails (1.1.0)
+ capistrano (>= 3.0.0)
+ capistrano-bundler (>= 1.0.0)
+ capistrano-rvm (0.0.3)
+ capistrano
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
ruby
DEPENDENCIES
- capistrano
+ capistrano (~> 3.0)
+ capistrano-bundler (>= 1.1.0)
+ capistrano-rails (~> 1.1)
+ capistrano-rvm
coffee-rails (~> 4.0.0)
factory_girl_rails
jbuilder (~> 1.2)
# Supports bulk-adding hosts to roles, the primary
# server in each group is considered to be the first
# unless any hosts have the primary property set.
-role :app, %w{deploy@example.com}
-role :web, %w{deploy@example.com}
-role :db, %w{deploy@example.com}
+role :app, %w{deploy@feedcatcher.njae.me.uk}
+role :web, %w{deploy@feedcatcher.njae.me.uk}
+role :db, %w{deploy@feedcatcher.njae.me.uk}
# Extended Server Syntax
# ======================
# definition into the server list. The second argument
# something that quacks like a hash can be used to set
# extended properties on the server.
-server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value
+# server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value
# you can set custom ssh options
# it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options