I installed RVM using the single instruction mentioned at the RVM website (using git).
Then I installed Ruby version 1.9.2 and 1.8.7 using:
rvm insta
rvm use 2.6.3 --default can fix it, but when I shut down my Ubuntu, the problem appearance once again!!
this link helped me.https://github.com/rvm/rvm/issues/3682
sudo vim .bash_profile[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session as a function