I had ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
I had to upgrade it to ruby 2.3.1
through RVM because i wanted to upgrade rails. After upgrading ruby to (2.3.1) and then rails to (4.2.6) when i close terminal and re-open, it again use ruby 2.2.3p173
which is older version. and every time I have to run below command s to make it work on ruby 2.3.1
$ source ~/.rvm/scripts/rvm
$ type rvm | head -n 1
$ rvm --default use 2.3.1
Is there any way I do not have to run this process every time and by default I can use new version of ruby 2.3.1
?