Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hlovdal opened this issue Dec 25, 2022 · 1 comment · Fixed by #338
Closed

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

hlovdal opened this issue Dec 25, 2022 · 1 comment · Fixed by #338

Comments

@hlovdal
Copy link
Contributor

hlovdal commented Dec 25, 2022

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`
@hlovdal
Copy link
Contributor Author

hlovdal commented Dec 26, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant