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

Prepend bin path to PATH instead of appending it. #7

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

Conversation

codez
Copy link

@codez codez commented Dec 2, 2011

If the system ruby appears in PATH before the appended bin paths, this will be used instead. This leads to unpredictable behavior (like different rake or gem versions being used). So the bin paths should be prepended to the PATH variable instead, like RVM does.

As a workaround, I currently set the PATH variable for the task with the corresponding RVM bin paths prepended, and everything works fine.

@jenkinsadmin
Copy link
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

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.

2 participants