【发布时间】:2013-02-03 18:10:25
【问题描述】:
正在处理这个项目:https://github.com/cucumber/bool
有一个 makefile 来构建各种项目,我想使用 RVM 能够在 ruby 目录中切换 ruby 目录中的东西,但是,当我发出 makefile 命令来切换 rubies 时,我得到一个严重错误
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.
当然,如果我在命令行上发出rvm use 1.9.3,它就可以正常工作,所以这是其他问题的症状,但我不确定是什么。
【问题讨论】:
-
问题和答案也适用于 nvm。能不能加个nvm标签,让nvm的人找到答案?