我在 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.