RVM is not a function, selecting rubies with 'rvm use …' will not work

List the ruby versionsshell

ubuntu@ubuntu:~$ rvm listubuntu

rvm rubiesruby

=* ruby-2.3.0 [ x86_64 ]bash

# => - current
# =* - current && default
#  * - defaultui

Try to use a specific version of rubyspa

ubuntu@ubuntu:~$ rvm use 2.3.0@rails230.net

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

You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for an example.ci

 

Solution:terminal

Type bash --login from your terminal. And then give rvm use 2.3.0@rails230

相關文章
相關標籤/搜索