質問

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.
役に立ちましたか?

解決

Thanks to Mikey, adding source ~/.rvm/scripts/rvm to .zshenv -because of being used zsh in Yakuake- gets rid of the problem.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top