How can I explicitly point my fish shell to the RVM version of rubies?
I use a shell and I installed RVM. However, no matter what I do, RVM does not want to switch rubies.
rvm rubies
=* ruby-2.3.0 [ x86_64 ]
> ruby -v
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
> rvm use ruby-2.3.0
Using /Users/.../.rvm/gems/ruby-2.3.0
> ruby -v
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
my config.fish file contains: rvm default
What am I doing wrong here?
UPDATE:
> which ruby
/usr/bin/ruby
which -a ruby
/usr/bin/ruby
echo $PATH
/usr/local/bin /usr/bin /bin /usr/sbin /sbin
It seems that the path may be wrong, but I am not sure and do not know how to fix it.
EDIT 2:
Now I have changed the path, but it still does not work:
> echo $PATH
/Users/.../.rvm/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin
source
share