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

Incompatibility with heroku-22 stack #1

Open
vietqhoang opened this issue Jun 27, 2022 · 0 comments · May be fixed by #2
Open

Incompatibility with heroku-22 stack #1

vietqhoang opened this issue Jun 27, 2022 · 0 comments · May be fixed by #2

Comments

@vietqhoang
Copy link

vietqhoang commented Jun 27, 2022

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
@vietqhoang vietqhoang changed the title Incompatibility with heroku-22 buildpack Incompatibility with heroku-22 build Jun 27, 2022
@vietqhoang vietqhoang changed the title Incompatibility with heroku-22 build Incompatibility with heroku-22 stack Jun 27, 2022
@vietqhoang vietqhoang linked a pull request Jun 27, 2022 that will close this issue
@vietqhoang vietqhoang changed the title Incompatibility with heroku-22 stack Incompatibility with heroku-22 stack Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant