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

add optional manual task-level management of rvm integration #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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