I using some old server, on which is installed an old ruby 1.8.7.
For some reasons (no the best you’ll tell), Ive installed rvm.
I now have apps running on this old 1.8.7, others on 1.9.3.
I can understand it is messy. I’m looking for a safe way to clean it all.
My main problem is that some gems confused on which ruby version to use.
you can ensure that command is run in the new ruby with:
rvm 1.9.3 do ...rvm use 1.9.3; ...source $(rvm 1.9.3 do rvm env --path); ...first one is good for single commands,
the last one is good for scripting.