Thanks to Mikey, adding source ~/.rvm/scripts/rvm
to .zshenv
-because of being used zsh
in Yakuake- gets rid of the problem.
Can't switch another ruby versions on RVM
-
23-03-2022 - |
質問
I have Yakuake on Ubuntu 12.04 and I've faced this problem before, it's already solved. But now I can't switch from Ruby to JRuby on RVM. When I run rvm use jruby
it throws this error:
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
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 a example.
解決
所属していません StackOverflow