If I check the version of ruby by logging into build server, I get the 
version as 1.9.3

ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]

But if I execute ruby --version through "execute shell" option in jenkins, 
I get a different ruby version.

[xyz-abc] $ /bin/bash -xe /tmp/hudson2192021507907867383.sh
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]


I even tried exporting the ruby path which I have in build server, but still 
jenkins reports a different version.

Can anyone help? :(


Thanks,

M


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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