1

我在 Ubuntu 12.04 上有Yakuake,我之前遇到过这个问题,它已经解决了。但现在我无法在 RVM 上从 Ruby 切换到 JRuby。当我运行rvm use jruby它时会抛出这个错误:

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.
4

1 回答 1

3

感谢Mikey,添加source ~/.rvm/scripts/rvm到 -因为在 Yakuake.zshenv中使用- 解决了这个问题。zsh

于 2013-03-11T23:17:04.693 回答