I get the error "RVM is not a function" when trying to use it in Elementary Luna OS' terminal. There is an explanation here http://rvm.io/integration/gnome-terminal, but Elementary OS'terminal has no setting menu(!) -- so how can this be fixed in this OS?
Just open a terminal and paste this:
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile
then execute this:
source ~/.bash_profile
and it should work
You should be able to approximate that setup by appending this to your ~/.bashrc
file (rvm.sh might not be the right name, but it's something like that). You may have to log in and out for it to take effect.
source /etc/profile.d/rvm.sh
Or instead append this, which should include everything under /etc/profile.d/. It should be very similar to checking the setting in gnome-terminal:
source /etc/profile
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