I have a situation I need some assistance with. It involves ruby, rails, and a native c applications running on an Ubuntu server.
I am able to compile the c applications on the server and now need to know how to launch them via ruby script.
My end goal is to take lists of data from a rails app, save them to a specific .dat file on the server, use this file as the input to my executables (along with flags), and load the resulting files back through a ruby script into my rails app for display.
I'm currently looking at these to start:
Confirm existance of executable (script, bat, cmd, exe) via a ruby file
Launch a script on a separate server from a Rails app
Confirm existance of executable (script, bat, cmd, exe) via a ruby file
Ruby require_relative executing script?
If anyone has done anything like this or has ideas of how to do it please advise.
ls /home. So then you need write parser that will parse result from previous code and create your ruby models.