Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.
This repository was archived by the owner on May 17, 2023. It is now read-only.

Incompatibility with heroku-22 stack #1

@vietqhoang

Description

@vietqhoang

Problem

Heroku has released the heroku-22 stack. One of the major changes is removal of the system Ruby in the build.

Ruby must now be loaded by including the heroku/ruby buildpack in the Heroku app’s buildpack list.

This is an issue with this project due to the following line:

https://github.com/Kajabi/heroku-buildpack-shared-build-cache/blob/master/bin/compile#L32

A Ruby command is executed on line 32. Since the system Ruby is no longer present, this throws an error when the Heroku app is going through the build process.

Including the heroku/ruby buildpack in the buildpack list before this project will not work. The Ruby buildpack will execute Bundler install commands. This action removes the benefit of this project, where the cached bundled gems are loaded before this action happens.

Possible solutions

  • Rewrite the Ruby line in Bash
  • Rewrite the Ruby line in Python3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions