捆绑安装 - 未找到GEMFILE

时间:2018-06-14 01:08:45

标签: ruby-on-rails ruby rubygems

我遇到运行"捆绑安装问题"在macos上。捆绑安装后我收到以下消息

bundle install
Ignoring ffi-1.9.23 because its extensions are not built. Try: gem pristine ffi --version 1.9.23
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
Ignoring gem-wrappers-1.3.2 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.3.2
Ignoring openssl-2.1.1 because its extensions are not built. Try: gem pristine openssl --version 2.1.1
Could not locate Gemfile

你能帮我吗?

2 个答案:

答案 0 :(得分:0)

好像你不在项目的根文件夹中。

进入你的终端到项目的根文件夹,然后在那里运行bundle install。

答案 1 :(得分:0)

Bundler使用gem系统,屏幕上显示的问题与该gem系统有关。尝试运行它告诉您的gem pristine命令。