RVM is not a function, selecting rubies with ‘rvm use …’ will not work.

Jelani Woods
1 min readJan 14, 2019

--

Ah, the infamous rvm error finally has a home on my blog.

I had incorrectly assumed that all I needed was to include rvm in my path in eithter my .bashrc or .zshrc. But this doesn’t actually solve the error.

export PATH="$PATH:$HOME/.rvm/bin"

The solution for me on my Linux VM was found on StackOverflow

You need to run the following

$ source ~/.rvm/scripts/rvm

then run this

$ type rvm | head -n 1

and since my result was

rvm is a shell function from /home/sun/.rvm/scripts/cli

I was able to use rvm again!

--

--