Class: Deployer::ConsoleDeployer
- Inherits:
-
BaseDeployer
- Object
- BaseDeployer
- Deployer::ConsoleDeployer
- Defined in:
- lib/deployer/console_deployer.rb
Instance Attribute Summary
Attributes inherited from BaseDeployer
Instance Method Summary collapse
- #deploy! ⇒ Object
-
#initialize(options) ⇒ ConsoleDeployer
constructor
A new instance of ConsoleDeployer.
Constructor Details
#initialize(options) ⇒ ConsoleDeployer
Returns a new instance of ConsoleDeployer.
3 4 5 |
# File 'lib/deployer/console_deployer.rb', line 3 def initialize() @options = end |
Instance Method Details
#deploy! ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/deployer/console_deployer.rb', line 7 def deploy! Bundler.with_clean_env do Dir.chdir(console_dir) do system "bundle install && cap #{stage} deploy" end end end |