I had a problem with RVM, so I uninstalled and reinstalled it.
The truth is that I actually tried rbenv, but it did not work for me, so I try to start rvm again and run it - without having to install duplicate versions of Ruby.
I have at least one existing version of Ruby installed:
ruby --version ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
But when I do rvm list
, I get an empty list:
bash-3.2$ rvm list rvm rubies # Default ruby not set. Try 'rvm alias create default <ruby>'. # => - current # =* - current && default # * - default
So my question has two parts:
- How do I see all versions of Ruby on my system (given that rvm is not showing me)?
- How to associate a new RVM installation with existing versions of Ruby?
Or am I better off uninstalling all existing versions of Ruby and reinstalling everything? It looks like a pain in the ass, though.
source share