3 ms·
Just in case someone uses this as installation instructions, there's a (small but important) missing step. After installing via bash and before installing any r
by telemachos 16y ago
Just in case someone uses this as installation instructions, there's a (small but important) missing step. After installing via bash and before installing any rubies, add this to your shell's startup file:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
Then open a new shell and check the output of `type rvm | head -1`. It should return "rvm is a function".
Maybe more importantly, run `rvm notes` before installing any rubies. Many operating systems will need to install various development packages first. `rvm notes` will tell you what you are likely to need for your OS.
http://rvm.beginrescueend.com/rvm/install/ http://rvm.beginrescueend.com/rvm/install/
- steveklabnik 16y agoOne more small note: this isn't some magic you need to learn, it spits it out when you install it.
- telemachos 16y agoFair enough and a good point. I hang out in #rvm on irc though, and a reasonable number of people manage not to read the notes the installer spits out (or the docs online, which are excellent). But it's a good point, nonetheless.
- steveklabnik 16y agoYeah, there's a reason why RTFM became a saying... I wasn't trying to criticize, I just wanted to point it out before someone said 'good luck figuring that one out.'