Add a free Pascal compiler to Heroku

I have a Rails application for which some functions need a Free Pascal Compiler . Everything works fine locally, but I want to deploy it to Heroku now. Is there any way to install the compiler there?

EDIT:

I tried these steps . As a result, I created these two repositories ( fpc files , my buildpack ). At the end, I installed:

heroku config:add BUILDPACK_URL=https://github.com/rwehresmann/heroku-fpc-buildpack.git

As an answer, I received:

Setting BUILDPACK_URL and restarting ⬢ farma-alg-reborn... done, v17
BUILDPACK_URL: https://github.com/rwehresmann/heroku-fpc-buildpack.git

I clicked on Heroku and did not get any errors, but the compiler was still not available in my application.

+4
source share
1 answer

, , tar - - .

  • (?)
  • fpc (fpc.cfg , )
  • ( , )
  • ( - , , tar )

, .

+1

Source: https://habr.com/ru/post/1673210/


All Articles