我想安装具有特定版本的捆绑Gemfile.lock
程序,用. 你知道怎么做吗?我想让 Jenkins 之类的 ci 自动安装版本的bundler。
BUNDLED WITH
1.13.5
我想安装具有特定版本的捆绑Gemfile.lock
程序,用. 你知道怎么做吗?我想让 Jenkins 之类的 ci 自动安装版本的bundler。
BUNDLED WITH
1.13.5
您可以尝试一些 shell 脚本:gem install bundler -v $(tail -n1 Gemfile.lock)
派对可能有点晚了,但 bundler 2.3 默认会为您执行此操作。请参阅https://bundler.io/blog/2022/01/23/bundler-v2-3.html。
https://makandracards.com/makandra/9741-run-specific-version-of-bundler
gem install bundler -v 1.0.10
bundle _1.0.10_ install
为我工作:)