I use an execute shell step with this at the top to force jenkins to do what I want: #!/bin/bash -x source "/usr/local/rvm/scripts/rvm" rvm use 1.8.7
On Mon, Mar 9, 2015 at 6:33 AM, seun are <[email protected]> wrote: > Hi, > > Can anyone help me? everytime i am running my job on Jenkins its picking up > the ruby.framework version 2.0 and my job Gemfile specifies ruby 2.2.0 so > please i need help to force jenking (master) to use the rvm ruby-2.2.0 i > dont seem to get a way around it. > > Jenkins version: 1.601 > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/b0401a35-abca-4ded-88d9-1a8c870259d6%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BvtdQbnPzXAGGUctYo_8%2BoAn_AUeJAzAAwsPnF0jYZvcRchQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
