Bundler is installed before executing
bundle install, in case a Gemfile.lock is present. The specific version defined in the Gemfile.lock under
BUNDLED WITH is installed and used to run the
bundle install command.
The issues fixed include the error messages printed during build:
rbenv: bundle: command not found
You must use Bundler 2 or greater with this lockfile.
Cocoapods version is now printed after installing it. This fixes an error occurring if cocoapods was not installed before running the step:
System installed cocoapods version: $ pod "--version" rbenv: pod: command not found