is it possible to load rvm in shell script . can any one give an example of it. when i try a shell script . i am using ubuntu system
#!/bin/bash rvm use 1.9.3 >
You can just include rvm in your script by doing:
source ~/.rvm/scripts/rvm
then rvm should be available to your script,