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.
精彩评论