capistrano / rvm

MIT License
140 stars 47 forks source link

Enable skipping of rvm tasks #68

Open jesenko opened 9 years ago

jesenko commented 9 years ago

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

Xorelock commented 8 years ago

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 commented 6 years ago

Could really use something like this right now.