I am new to Jenkins CI. I\'m install RVM in my remote Jenkins and when I execute below shell.
#!/bin/bash -x source ~/.bashrc rvm use 1.9.3@rails-3.2.3
try:
. $(/home/RVM_USER/.rvm/bin/rvm env 1.9.3@rails-3.2.3 --path)
make sure you run the stable RVM:
rvm get stable
NOTE: Last Jenkins version does not always accept "source", but ".". RVM_USER is the user that installed RVM. Alternatively you can also export the RVM command in the main PATH.