开发者

Execute a binary file in ruby (on Heroku)

开发者 https://www.devze.com 2022-12-16 16:54 出处:网络
Is it possible to execute a little binary file (required for payment processing) with Kernel#exec from a ruby app hosted on Heroku ? Or 开发者_运维百科do I need to switch to another rails hosting solu

Is it possible to execute a little binary file (required for payment processing) with Kernel#exec from a ruby app hosted on Heroku ? Or 开发者_运维百科do I need to switch to another rails hosting solution ?


Heroku does allow for the compilation of native gems from it's gem manifests so there is a distinct possibility that you will be able to package the binary up as a gem and get heroku to run it as such. Make sure you set the binary to be executable before you push it to heroku as git is permissions aware.

0

精彩评论

暂无评论...
验证码 换一张
取 消