Execute script using RVM

Hello,

I have a script which I need it to run on a FreeBSD remote server. I used RVM as an environment. I'd like to know what is the best way in order to make the script run using RVM enviroment (ruby version & gemsets) and not the system-wide ruby installation which has no gems installed.

If it helps, I only 1 version of Ruby 1.9.2 with a single gemset. So 'default' rvm is fine.

Regards,

Panagiotis (atmosx) Atmatzidis

email: atma@convalesco.org
URL: http://www.convalesco.org
GnuPG ID: 0xFC4E8BB4
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xFC4E8BB4

ยทยทยท

--
The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience."