Skip to content

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