开发者

Execute a binary file in ruby (on Heroku)

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜