This means your .bashrc isn't properly configuring RVM. We put ours in
.bash_profile and source it the same way you do.
export PATH=$PATH:/usr/local/rvm/bin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
On Wed, Apr 18, 2012 at 8:28 AM, Zolzaya Erdenebaatar <
zolzaya.erdenebaa.
Hi all, 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
> rvm use 1.9.3@rails-3.2.3
I get following errors.
+ source /var/lib/jenkins/.bashrc
> ++ PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/g