zowe / zowe.github.io

Zowe.org website development
https://zowe.org
Creative Commons Attribution 4.0 International
13 stars 35 forks source link

Fix Netlify Compilation Error #926

Closed MarkAckert closed 4 months ago

MarkAckert commented 4 months ago

Netflify automated deployments are failing with an error related to rubygems versions. By default, Netlify sets the ruby interpreter to 2.6.2, which is quite old, so this PR creates a .ruby-version to specify Ruby 3.3.2, which forces Netlify to use a newer version of Ruby. This PR also added a version specifier to the Gemfile for developer usage (Netlify did not pick this up, and my local environment did not pick up the .ruby-version).

The Gemfile and .ruby-version should be kept roughly in sync, though its not required.