I'd like to use the Ruby buildpack by Paketo for running a Rails application. However, bundler cannot build because the header files of a library that is required by a native gem is not available in the buildpack.
Under normal circumstances (e.g. having my custom Dockerfile instead of a buildpack), I'd simply run something like apt install libwhatever-dev
. However, how can this be achieved with a buildpack? Which steps need to be taken to have the library available both during build and runtime, ideally without having to fork the entire builder or pack?