I had the same problem using rvm
on Ubuntu
, was fixed by setting the source
on my terminal as a short-term solution:
source $HOME/.rvm/scripts/rvm
or
source /home/$USER/.rvm/scripts/rvm
and configure a default Ruby Version, 2.3.3
in my case.
rvm use 2.3.3 --default
And a long-term Solution is to add your source
to your .bashrc
file to permanently make Ubuntu look in .rvm
for all the Ruby files.
Add:
source .rvm/scripts/rvm
into
$HOME/.bashrc
file.