Error: RVM is not a function, selecting rubies with 'rvm use ...' will not work on Kubuntu

Error: RVM is not a function, selecting rubies with 'rvm use ...' will not work on Kubuntu

Hey guys

In case you're using Kubuntu 20.04.4 and you you came across with the following error message:

RVM is not a function, selecting rubies with 'rvm use ...' will not work on Kubuntu

The complete error message is this

image.png

Part of our development activities is to understand error messages, basically, the message says that we need to allow login shell.

Solution

  1. Go to settings, Edit current profile You'll end up in a window like this

image.png

  1. In the command field, after the text, add -l
    /bin/bash -l
    
    You'll get something like this

image.png

  1. Restart the Kubuntu konsole You won't get any error message

image.png

  1. Celebrate lol

That's all for today. Feel free to reach out to me if you have any questions.