You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running build within hab studio results in several deprecation notices with the current bundler. The functionality of these flags I do not believe is being removed. Under Habitat the reasoning for the deprecation does not apply if I understand correctly.
Workarounds do exist:
BUNDLE_SILENCE_DEPRECATIONS is an environment variable that may be applied to silence the warnings - however this would hide future deprecations that need to be addressed.
Might be options as an alternative to executing the 'bundle config set' route.
Current deprecated warning list
[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 '/hab/pkgs/jritchie-null-test/minimal/0.1.0/20211102161242/app/vendor/bundle', and stop using this flag
[DEPRECATED] The --shebang 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 shebang '/hab/pkgs/core/ruby/3.0.2/20211019144421/bin/ruby', 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
The text was updated successfully, but these errors were encountered:
Running build within hab studio results in several deprecation notices with the current bundler. The functionality of these flags I do not believe is being removed. Under Habitat the reasoning for the deprecation does not apply if I understand correctly.
Workarounds do exist:
BUNDLE_SILENCE_DEPRECATIONS is an environment variable that may be applied to silence the warnings - however this would hide future deprecations that need to be addressed.
BUNDLE_DEPLOYMENT=1
BUNDLE_PATH="..."
BUNDLE_SHEBANG="..."
BUNDLE_WITHOUT="..."
Might be options as an alternative to executing the 'bundle config set' route.
Current deprecated warning list
[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 usebundle 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 usebundle config set --local path '/hab/pkgs/jritchie-null-test/minimal/0.1.0/20211102161242/app/vendor/bundle'
, and stop using this flag[DEPRECATED] The
--shebang
flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please usebundle config set --local shebang '/hab/pkgs/core/ruby/3.0.2/20211019144421/bin/ruby'
, 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 usebundle config set --local without 'development:test'
, and stop using this flagThe text was updated successfully, but these errors were encountered: