Skip to content

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

jesenko added 2 commits May 22, 2015 23: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