Issue Type: Bug Bug
Affects Versions: current
Assignee: Gregory Boissinot
Components: envinject
Created: 15/Mar/13 8:55 PM
Description:

The GEM_PATH environmental variable is not getting set correctly on master nodes. On slave nodes, it works just fine.

Here is a sample of how it looks:

GEM_PATH: "file:/var/lib/jenkins/jenkins-data/plugins/ruby-runtime/WEB-INF/lib/stapler-jruby-1.177.jar!/gem"

Here is an example of how I expect it to render:

GEM_PATH: "/var/lib/jenkins/.rvm/gems/ree-1.8.7-2012.02rn:/var/lib/jenkins/.rvm/gems/ree-1.8.7-2012.02@global"

---------------

Disabling the envinject plugin renders the GEM_PATH environmental variable correctly.

Also, we can use the plugin to override the GEM_PATH manually, but this is not ideal. We should be able to render this environmental variable via rvm.

Environment: jenkins workspace $ uname -a
Linux jenkins.compute-1.internal 3.6.10-4.fc18.x86_64 #1 SMP Tue Dec 11 18:01:27 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Project: Jenkins
Labels: plugin jenkins envinject environment-variables linux, gem_path
Priority: Major Major
Reporter: Brian Goad
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to