fix.sh in checkoff-0.187.0 vs fix.sh in checkoff-0.188.0

- old
+ new

@@ -144,10 +144,15 @@ # https://app.asana.com/0/1107901397356088/1199504270687298 # Version <2.2.22 of bundler isn't compatible with Ruby 3.3: # # https://stackoverflow.com/questions/70800753/rails-calling-didyoumeanspell-checkers-mergeerror-name-spell-checker-h + # + # + # Version 2.5.5 fixed an issue in 2.2.22 with the 'bump' gem: + # + # https://app.circleci.com/pipelines/github/apiology/checkoff/1281/workflows/f667f909-c3fc-4ae2-8593-dde2b588a7a7/jobs/2491 need_better_bundler=false if [ "${bundler_version_major}" -lt 2 ] then need_better_bundler=true elif [ "${bundler_version_major}" -eq 2 ] @@ -161,21 +166,17 @@ then need_better_bundler=true fi fi fi - echo "Bundler version: ${bundler_version}" - echo "Need better bundler: ${need_better_bundler}" if [ "${need_better_bundler}" = true ] then + >&2 echo "Original bundler version: ${bundler_version}" # need to do this first before 'bundle update --bundler' will work make bundle_install - set -x bundle update --bundler gem install bundler:2.5.5 - set +x - echo "After updating bundler:" - echo "Bundler version: ${bundler_version}" + >&2 echo "Updated bundler version: $(bundle --version)" # ensure next step installs fresh bundle rm -f Gemfile.lock.installed fi make bundle_install # https://bundler.io/v2.0/bundle_lock.html#SUPPORTING-OTHER-PLATFORMS