mina-deploy / mina

Blazing fast deployer and server automation tool

Home Page:https://rubygems.org/gems/mina

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pebwindkraft opened this issue · comments

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.