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
As the error message suggests, RVM expects an login shell. Changing the hashbang line to #!/bin/bash -xl should resolve this.
#!/bin/bash -xl