From: botp Date: 2010-11-11T14:48:45+09:00 Subject: [quite ot] scripting an rvm command Hi All, sorry for this dumb question, but i'm getting zero iq as of this moment :) i cannot seem to run properly an rvm command inside a script file. my objective is to run a ruby script on all rvm versions installed. eg, the ff runs fine when run thru the cli, for i in `rvm list strings`; do rvm use "$i"; ruby -v; done but when the above code is placed inside a script file, and then the script is run, you wont get the expected output. You just the same ruby -v result on all rvm ruby versions, as if rvm use command was ignored.. hope i was clear enough. thank you and kind regards -botp