Run binary in ruby ​​(on Heroku)

Is it possible to execute a small binary file (necessary for payment processing) using Kernel # exec from a ruby ​​application hosted on Heroku? Or do I need to switch to another solution for rails?

+3
source share
1 answer

Heroku allows the compilation of native stones from it gem manifestests , so there is a clear possibility that you can pack binary like a gem and get a hero to launch it as such. Make sure you install the executable before clicking on the hero, since git is permissions.

+4

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


All Articles