Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct README in regards to rvm:hook integration #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,21 @@ If you want to restrict RVM usage to a subset of roles, you may set `:rvm_roles`
## Restrictions

Capistrano can't use RVM to install rubies or create gemsets, so on the
servers you are deploying to, you will have to manually use RVM to install the
servers you are deploying to, you will have to manually use RVM to install the
proper ruby and create the gemset.


## How it works

This gem adds a new task `rvm:hook` before `deploy` task.
It sets the `rvm ... do ...` for capistrano when it wants to run
`rake`, `gem`, `bundle`, or `ruby`.
This gem adds a new tasks `rvm:hook` and `rvm:check` before each stage-setting
task (ex. 'staging', 'production', etc.).

`rvm:hook` sets the `rvm ... do ...` for capistrano when it wants to run `rake`,
`gem`, `bundle`, or `ruby`.

`rvm:check` outputs the current version info for rvm plus the active rvm and
gemset. It only runs when :log_level is set to :debug (including when the
`--trace` argument is passed to `cap`.)

## Check your configuration

Expand Down