Our app invokes some binary executables (imagine
In order to make deployment error free, I’d like to include them in our
source tree, and add the paths to the ENV[‘PATH’] dynamically.
Is there a cross platform way of doing this? Unix uses ‘:’ as a path
separator, Windows uses ‘;’.
In case you’re wondering how the binaries can be cross platform.
add_to_path(‘vendor/bin/’ + Config::CONFIG[‘arch’] + ‘/’)
Not sure how to compile cross Linux binaries, though - they’re often
dependent on the distro and even version. Is it enough to compile them