Hey @ejstembler, I’ve been playing with Crystal + heroku myself, recently, so wanted to share some thoughts.
-
You can specify any custom buildpack in your app’s settings page. This means you could fork the official Crystal buildpack, hardcode the
SHARDS_OPTS
option and point heroku to your buildpack repository. -
Alternatively, you could disable the buildpack completely and move to the heroku.yml + Dockerfile approach. This gives you full control of the commands you run at build time. If you’ve never done this before, then you might find @ftarulla’s article useful.