ManageIQ / manageiq-appliance-build

Scripts to build ManageIQ appliances
Apache License 2.0
10 stars 55 forks source link

Fix issue when newer json gem is not present #552

Closed Fryguy closed 1 year ago

Fryguy commented 1 year ago

The JSON.load_file method is not present is the version of the JSON gem that comes with Ruby 2.7.

@jrafanie Please review cc @bdunne

Fryguy commented 1 year ago

Backported to petrosian in commit 02c11fc22188368faefd5890eefe2690a857cb9c.

commit 02c11fc22188368faefd5890eefe2690a857cb9c
Author: Joe Rafaniello <jrafanie@users.noreply.github.com>
Date:   Fri Jul 7 09:48:25 2023 -0400

    Merge pull request #552 from Fryguy/fix_json_issue

    Fix issue when newer json gem is not present

    (cherry picked from commit 887d4422597359df8d3c888eb24606ac9a3e99b0)