views:

98

answers:

1

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 ?

+1  A: 

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.

roja
I've thought about that too, but Heroku support answered the question yesterday: only executables in the "/bin" subdirectory of the app can be executed
Gaetan Dubar