Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the Docker build errors #195

Merged
merged 1 commit into from
Apr 13, 2024
Merged

Fix the Docker build errors #195

merged 1 commit into from
Apr 13, 2024

Commits on Apr 4, 2024

  1. Fix the Docker build errors

    There were 2 issues that were breaking the build and tests.
    
    1. Updating Ruby Gems itself without specifying a version causes it to update to the latest version which requires Ruby 3. Instead, we specify the latest version compatible with the installed Ruby.
    
    Compatibility versions found here:
    https://rubygems.org/api/v1/versions/rubygems-update.json
    
    2. All builds were having issues with missing shared libraries. In the case of the Ruby 2.6 images it was nokogiri and for the Ruby 3.0 image it was sqlite3. A common fix for all the builds was to configure Bundler to consider the platform during dependency resolution.
    
    More information found here:
    https://bundler.io/v1.14/whats_new.html
    sparklemotion/sqlite3-ruby#434
    github/pages-gem#839 - alt. fix for Ruby 2.6
    tim-kuntz committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    97d1e3a View commit details
    Browse the repository at this point in the history