The ruby scaffolding is setup to pull the latest version of core/ruby which at this time is 3.0.2. This version of Ruby includes the bundler module (version 2.2.22) out of the box. The scaffolding also pulls in core/bundler which has the bundler module at version 2.2.14.
This causes an issue at the vendoring phase where the bundler is identified as version 2.2.22 but tries to vendor from the 2.2.14 core/bundler path.
minimal: Vendoring 'bundler' version 2.2.22 ERROR: Could not find a valid gem '/hab/pkgs/core/bundler/2.2.14/20211019145057/cache/bundler-2.2.22.gem' (>= 0) in any repository
The ruby scaffolding is setup to pull the latest version of core/ruby which at this time is 3.0.2. This version of Ruby includes the bundler module (version 2.2.22) out of the box. The scaffolding also pulls in core/bundler which has the bundler module at version 2.2.14.
This causes an issue at the vendoring phase where the bundler is identified as version 2.2.22 but tries to vendor from the 2.2.14 core/bundler path.
minimal: Vendoring 'bundler' version 2.2.22 ERROR: Could not find a valid gem '/hab/pkgs/core/bundler/2.2.14/20211019145057/cache/bundler-2.2.22.gem' (>= 0) in any repository