Sha256: af404ee03fd7faa9384bc5e6aec5abb75184baa498d57c4408373e9c15a64f24

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

# Application template recipe for the rails_apps_composer. Change the recipe here:
# https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/deployment.rb

case config['deployment']
when 'capistrano3'
  prefs[:deployment] = 'capistrano3'
end

if prefer :deployment, 'capistrano3'
  say_wizard "recipe adding capistrano gems"
  add_gem 'capistrano', '~> 3.0.1', group: :development
  add_gem 'capistrano-rvm', '~> 0.1.1', group: :development
  add_gem 'capistrano-bundler', group: :development
  add_gem 'capistrano-rails', '~> 1.1.0', group: :development
  add_gem 'capistrano-rails-console', group: :development
  stage_two do
    say_wizard "recipe stage two"
    say_wizard 'recipe capistrano file'
    run 'bundle exec cap install'
  end
end

__END__

name: deployment
description: "Capistrano3-deployment - more options can be added later"
author: zealot128

category: development
requires: [setup]
run_after: [init]
args: -T

config:
  - deployment:
      type: multiple_choice
      prompt: Add a deployment mechanism?
      choices: [["None", "none"], ["Capistrano3", "capistrano3"] ]

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_apps_composer-3.0.17 recipes/deployment.rb
rails_apps_composer-3.0.16 recipes/deployment.rb
rails_apps_composer-3.0.15 recipes/deployment.rb
rails_apps_composer-3.0.14 recipes/deployment.rb
rails_apps_composer-3.0.13 recipes/deployment.rb
rails_apps_composer-3.0.12 recipes/deployment.rb
rails_apps_composer-3.0.11 recipes/deployment.rb
rails_apps_composer-3.0.10 recipes/deployment.rb