I'm calling a C executable in my Rails(-v 2.3.5) application using the system() call.
makefile_path = File.expand_path('./c_executalbe', Rails.root)
system(makefile_path)
Everything works fine on my local machine but for some reason that system() call won't run on the server(dreamhost). And there is no error message in log/production.log. I would like to see the returned output of that system call in the log. How can I do that?
Thanks in advance!