【发布时间】:2013-12-28 23:37:22
【问题描述】:
我刚刚在 Debian 6 服务器上安装了 RVM,一开始没有任何问题。但是,一切都设置好后,我无法在终端中运行 RVM。我输入rvm use 时收到的消息是:
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.
我正在通过 SSH 登录,但找不到解决此问题的方法。在“rvm installation not working: "RVM is not a function"”中,他们设法解决了这个问题,但不是针对 SSH。
【问题讨论】:
-
请阅读全文 installation page,包括页面底部的故障排除信息。如果这没有帮助,我建议您在 RVM IRC 频道寻求帮助。 RVM 远程工作正常;我在通过 SSH 访问的多台机器上都有它。
标签: ruby function ssh terminal rvm