Class: Schienenzeppelin::AddOns::Capistrano
- Inherits:
-
Schienenzeppelin::AddOn
- Object
- Rails::Generators::Base
- Schienenzeppelin::AddOn
- Schienenzeppelin::AddOns::Capistrano
- Defined in:
- lib/schienenzeppelin/addons/capistrano.rb
Instance Attribute Summary
Attributes inherited from Schienenzeppelin::AddOn
Instance Method Summary collapse
Methods inherited from Schienenzeppelin::AddOn
apply, default_source_root, dependencies, get, identifier, #initialize
Constructor Details
This class inherits a constructor from Schienenzeppelin::AddOn
Instance Method Details
#apply ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/schienenzeppelin/addons/capistrano.rb', line 6 def apply say 'Installing and configuring Capistrano' run('bundle exec cap install', capture: true) directory('lib/capistrano', 'lib/capistrano') configure_deploy template('Capfile.erb', 'Capfile', force: true) end |