mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

Adopt to new standard of bundle flags [proposed Label] enhancement #714

Open pebwindkraft opened 1 year ago

pebwindkraft commented 1 year ago

When deploying with mina, bundle shows deprecated flags, which will need to be changed when version 3 rolls in.

[DEPRECATED] The `--deployment` 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 deployment 'true'`, and stop using this flag
[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
[DEPRECATED] The `--without` 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 without 'development test'`, and stop using this flag

Doing a "bundle --help config" on a 2.3 bundle version, show in the section "REMEMBERING OPTIONS" simliar wording. Looking at the file [https://github.com/mina-deploy/mina/blob/master/tasks/mina/bundler.rb], line 8 provides the params.