1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

remove binstubs

This commit is contained in:
Michal Papis 2013-10-22 08:50:45 +02:00
parent 51aa74234a
commit 1a119c471d

View file

@ -15,13 +15,13 @@ gem 'capistrano', '~> 3.0.0'
And then execute: And then execute:
``` sh ``` sh
$ bundle --binstubs $ bundle install
``` ```
Capify: Capify:
*make sure there's no "Capfile" or "capfile" present* *make sure there's no "Capfile" or "capfile" present*
``` sh ``` sh
$ cap install $ bundle exec cap install
``` ```
This creates the following files: This creates the following files:
@ -41,20 +41,20 @@ This creates the following files:
To create different stages: To create different stages:
``` sh ``` sh
$ cap install STAGES=local,sandbox,qa,production $ bundle exec cap install STAGES=local,sandbox,qa,production
``` ```
## Usage ## Usage
``` sh ``` sh
$ cap -vT $ bundle exec cap -vT
$ cap staging deploy $ bundle exec cap staging deploy
$ cap production deploy $ bundle exec cap production deploy
$ cap production deploy --dry-run $ bundle exec cap production deploy --dry-run
$ cap production deploy --prereqs $ bundle exec cap production deploy --prereqs
$ cap production deploy --trace $ bundle exec cap production deploy --trace
``` ```
## Tasks ## Tasks
@ -162,13 +162,13 @@ Execute arbitrary remote commands, to use this simply add
environment: environment:
``` sh ``` sh
$ cap staging console $ bundle exec cap staging console
``` ```
Then, after setting up the server connections, this is how that might look: Then, after setting up the server connections, this is how that might look:
``` sh ``` sh
$ cap production console $ bundle exec cap production console
capistrano console - enter command to execute on production capistrano console - enter command to execute on production
production> uptime production> uptime
INFO [94db8027] Running /usr/bin/env uptime on leehambley@example.com:22 INFO [94db8027] Running /usr/bin/env uptime on leehambley@example.com:22