Is there a command to see if RVM was probably installed? I just went through the setup process of RVM and would like to test it out.
Also, since I have (or will eventually have) RVM, should I no longer use apt-get to download libraries/gems and always do that through RVM?
rvm -v is a good start and then per the installation instructions (link) typing in $ type rvm | head -1
should return 'rvm is a function'. as to the second part yes you should just stick to installing gems with rvm using gem install (gemname here) and that will save you a good deal of trouble
First, make sure your RVM is properly installed:
https://rvm.beginrescueend.com/rvm/install/
rvm info
is a good way of finding out if everything went well.
Regarding gems, I'd say manage them through the RVM-installed Rubies, they have some advantages like gemsets:
https://rvm.beginrescueend.com/gemsets/
Now I now there's always been some controversy between people who prefer native packages over gems (and there are some valid reasons for that, but this is a discussion for another time), but I think RVM tipped the scale a bit here, as do the problems with Ruby packages on Debian:
http://www.lucas-nussbaum.net/blog/?p=617
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With