Arduino-CI/arduino_ci

Running "bundle install --path vendor/bundle" generates deprecated warning

hlovdal opened this issue · 1 comments

System

  • OS: Linux, Fedora 37
  • ruby -v: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux]
  • bundle -v: Bundler version 2.3.26
  • bundle info arduino_ci: link to git clone (checked out 2021-02-15_rescue branch).

Issue Summary

The readme file contains the following suggested command

$ bundle install --path vendor/bundle   # adds packages to local library

However running it generates a deprecated warning:

[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path 'vendor/bundle'`, and stop using this flag
Resolving dependencies...Fetching gem metadata from https://rubygems.org/....
...
Using bundler 2.3.26
Fetching os 1.1.4
Fetching rubyzip 1.3.0
Installing os 1.1.4
Installing rubyzip 1.3.0
Using arduino_ci 1.3.0 from source at `../arduino_ci` and installing its executables
Bundle complete! 1 Gemfile dependency, 4 gems now installed.
Bundled gems are installed into `./vendor/bundle`

I have an old branch that should fix this as far as I can see. I just rebased it on top of latest master (it was just two commits behind).