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

Enable skipping of rvm tasks #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jesenko
Copy link

@jesenko jesenko commented May 22, 2015

When executing capistrano task which does not execute any ruby code at target host, checking of rvm and ruby versions is unnecessary. This commit enables skipping of rvm hooks by specifying :skip_rvm_for_tasks variable, containing an array of strings/regexes against which currently executing top-level capistrano task is matched.

Related to #45

When executing capistrano task which does not execute any ruby code at target host, checking of rvm and ruby versions is unnecessary. This commit enables skipping of rvm hooks by specifying `:skip_rvm_for_tasks` variable, containing an array of strings/regexes against which currently executing top-level capistrano task is matched.
When entry in `skip_rvm_for_tasks` is a string, it must be the same as the _full_ top-level capistrano task name.
@Xorelock
Copy link

Xorelock commented Oct 8, 2015

Hello

I am running capistrano in an environment that has a heterogenous set of servers/roles, some of which have rvm, and others that do not. Currently this gem is testing rvm on all cap tasks, including non-deploy tasks that access non-rvm machines.

This is a serious bug in this gem

Can PR #68 (this) or #64 be merged and published?

Kind Regards

@Kagetsuki
Copy link

Could really use something like this right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants