Bootstrap BuildTools - 捆绑安装 - 找不到 Gemfile

gx2*_*x2g 5 build-tools bootstrap-4

https://getbootstrap.com/docs/4.0/getting-started/build-tools/

我正在按照这些说明在我的 Mac 上安装 buildtools,但出现此错误。

Could not locate Gemfile
Run Code Online (Sandbox Code Playgroud)

当我运行哪个包时,我得到了这个,

/Applications/MAMP/Library/bin/bundle
Run Code Online (Sandbox Code Playgroud)

红宝石的版本是,

ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
Run Code Online (Sandbox Code Playgroud)

为什么我不能完成捆绑安装,为什么它显示 MAMP 作为我的哪个捆绑?我在这里做错了什么,任何帮助都会很棒。

小智 2

https://getbootstrap.com/docs/4.5/getting-started/build-tools/上 ,它说“使用 来安装 Bundler gem install bundler,最后运行bundle install”,它可能应该说在 init 命令bundle init之前运行(无论如何,对我来说)bundle install创建了丢失的 Gemfile。