You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Convert the buildpack to use shell/bash scripts instead.
Have users of this buildpack add the heroku/ruby buildpack prior to this one (they will also need to add a minimal Gemfile to their app source, if not already present, so the Ruby buildpack passes detection). However if mysql is needed before a Ruby MySQL gem is installed, this option might not be viable for this buildpack.
Use the APT buildpack to instead install mysql CLI from Ubuntu's APT repo (or else a PPA repo), and sunset this buildpack.
The text was updated successfully, but these errors were encountered:
Hey @edmorley would you mind suggesting a "minimal Gemfile" that would just work with the heroku/ruby buildpack? I'd like to try your suggested option 3, but I have no knowledge of ruby whatsoever and our app is PHP based, so I'm lost here.
Hi! An empty Gemfile might work - I'm not the Ruby buildpack maintainer, so I don't know for sure and would have to experiment.
However I would strongly recommend one of the other options here.
Looking at this buildpack again now, I see it's using mysql 5.5 which is quite out of date.
As such, I would recommend option (4) over the others - particularly given that mysql libs are already installed in the stack images from APT - so installing the CLI from there too is more consistent.
Hi!
The Heroku-22 stack was just released:
https://devcenter.heroku.com/changelog-items/2429
In Heroku-22, there is no longer a system install of Ruby:
https://devcenter.heroku.com/articles/heroku-22-stack#system-ruby-is-no-longer-installed
This buildpack is written entirely in Ruby, and so in order for this buildpack to work on Heroku-22, one of the following will be necessary:
heroku/ruby
buildpack prior to this one (they will also need to add a minimalGemfile
to their app source, if not already present, so the Ruby buildpack passes detection). However if mysql is needed before a Ruby MySQL gem is installed, this option might not be viable for this buildpack.The text was updated successfully, but these errors were encountered: