0

我用 rvm 安装了包。我在终端中进入我的项目,输入代码:捆绑安装并发生此错误:

~/Documentos/workspace/conselheiros$ bundle install
bash: /usr/local/bin/bundle: /usr/bin/ruby1.8: interpretation invalid: File or Directory not found.

我在安装过程中遇到问题?我正在使用 rvm 安装我安装了 ruby​​ 1.8.7、rails 3.0.8 和 ruby​​gems 1.8.24

4

1 回答 1

0

首先确保 rvm 正确加载:

rvm get stable --auto-dotfiles

可能需要关闭终端并再次打开它

你需要使用 rvm ruby​​:

rvm use 1.8.7 --install --default

然后你可以继续:

bundle install
于 2013-07-11T18:03:03.250 回答