Konfiguracja RVM i Jenkins

Jestem nowy w Jenkins CI. Instaluję RVM w moim zdalnym Jenkinsie i kiedy wykonuję poniżej powłoki.

#!/bin/bash -x
source ~/.bashrc
rvm use 1.9.3@rails-3.2.3

Dostaję następujące błędy.

+ source /var/lib/jenkins/.bashrc
++ PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/var/lib/jenkins/.rvm/bin:/var/lib/jenkins/.rvm/bin
+ rvm use 1.9.3@rails-3.2.3

RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal settings to allow shell login.
Please visit https://rvm.io/workflow/screen/ for example.

Co to znaczy? Nie mam pojęcia. Proszę pomóż mi.

AKTUALIZOWANE: Próbowałem poniżej skryptu, ale nadal pojawiają się błędy:

#!/bin/bash -x
source /home/zeck/.bashrc
[[ -s ".rvmrc" ]] && source .rvmrc
export RAILS_ENV=test
bundle install

Błędy:

/tmp/hudson457106939700368111.sh: line 5: bundle: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Powłoka budująca Jenkinsa nie wykrywa RVM, gemsetów i klejnotów. Co powinienem zrobić?

AKTUALIZACJA 2: Dlatego jenkins nie może wykryć rubinu.

+ ruby -v
/tmp/hudson2505951775163045158.sh: line 5: ruby: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILUR

Nie używam żadnego plunn jenkinsa i po prostu uruchamiam skrypt z sekcji Build-> Execute shell.