我正在使用Emacs Live。我如何配置emacs ansi-term來允許登錄shell?當我嘗試切換rvm gemsets時,我收到以下消息:Emacs ansi-term作爲登錄shell
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.
謝謝!
我想我在前段時間嘗試Ruby時遇到了同樣的問題。 將此行添加到您的'〜/ .bashrc'中:'PATH = $ PATH:$ HOME/.rvm/bin' –
投票開放,因爲Emacs和RVM肯定是「程序員常用的軟件工具」 [help/on-topic]。 – legoscia