Sha256: 81db43ed5e1c223c1c28bd768dd43a8ddfd63b9f4c51d5b05a7d2e3465d73f31

Contents?: true

Size: 1.05 KB

Versions: 18

Compression:

Stored size: 1.05 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
  after_bundler do
    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: [extras]
args: -T

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rails_apps_composer-2.6.13 recipes/deployment.rb
rails_apps_composer-2.6.12 recipes/deployment.rb
rails_apps_composer-2.6.11 recipes/deployment.rb
rails_apps_composer-2.6.10 recipes/deployment.rb
rails_apps_composer-2.6.9 recipes/deployment.rb
rails_apps_composer-2.6.8 recipes/deployment.rb
rails_apps_composer-2.6.7 recipes/deployment.rb
rails_apps_composer-2.6.6 recipes/deployment.rb
rails_apps_composer-2.6.5 recipes/deployment.rb
rails_apps_composer-2.6.4 recipes/deployment.rb
rails_apps_composer-2.6.3 recipes/deployment.rb
rails_apps_composer-2.6.2 recipes/deployment.rb
rails_apps_composer-2.6.1 recipes/deployment.rb
rails_apps_composer-2.6.0 recipes/deployment.rb
rails_apps_composer-2.5.1 recipes/deployment.rb
rails_apps_composer-2.5.0 recipes/deployment.rb
rails_apps_composer-2.4.44 recipes/deployment.rb
rails_apps_composer-2.4.43 recipes/deployment.rb