B
botp
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
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