捆绑的问题 [英] problem with bundle

查看:45
本文介绍了捆绑的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试执行命令 bundle install --local
,但显示了问题:

I try command bundle install --local but it show issue:

-bash: /usr/local/bin/bundle: /usr/local/bin/ruby: bad interpreter: No such file or directory. 

请帮助我。

推荐答案

我认为您需要在.bashrc(linux)中导出ruby和bundle的路径。

I think you need to export the path of ruby and bundle in your .bashrc (linux).

打开您的 .bashrc 并添加以下行:

Open your .bashrc and add this line:

export PATH="$PATH:/usr/bin:/usr/local/bin/"

应该可以。

这篇关于捆绑的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆