Skip to content

Conversation

jonoterc
Copy link

The existing approach makes rvm:hook and rvm:check a prequisite for
every task; this adds superfluous overhead to executing any tasks that
don't make any use of ruby-based functionality.

By adding an alternate integration approach this PR allows for enabling
RVM support via manual task configuration without making any changes to
the current default behavior.

The 'no_hook' integration approach is (very) roughly modelled after
capistrano/passenger.

The "with_rvm" convenience method provides an easy wrapper around
before TASKNAME, rvm:hook calls to enable easily adding rvm:hook
support to (one or more) tasks.

The existing approach makes rvm:hook and rvm:check a prequisite for
*every* task; this adds superfluous overhead to executing any tasks that
don't make any use of ruby-based functionality.

By adding an alternate integration approach this PR allows for enabling
RVM support via manual task configuration without making any changes to
the current default behavior.

The 'no_hook' integration approach is (very) roughly modelled after
capistrano/passenger.

The "with_rvm" convenience method provides an easy wrapper around
`before TASKNAME, rvm:hook` calls to enable easily adding rvm:hook
support to (one or more) tasks.
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.

1 participant