我在Ubuntu 12.04上有Yakuake而我之前遇到this problem,它已经解决了。但现在我无法在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.