jak używać rvm w skryptach powłoki

czy można załadować rvm w skrypcie powłoki. czy ktoś może podać przykład. kiedy próbuję skryptu powłoki. Używam systemu ubuntu

#!/bin/bash
rvm use 1.9.3

daje mi błąd

RVM is not a function, selecting rubies with 'rvm use ...' will not work.

You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for a example.

questionAnswers(3)

yourAnswerToTheQuestion