Seems I run into another weird-ass limitation on this server every day. You might remember I had trouble earlier executing anything at all. I fixed that. Then I had trouble writing to a directory for no visible reason. I ended up changing all my code to write to /tmp (the files it writes ARE temporary, so it was always supposed to write there, really.)
Now... I need to exec a Ruby script. I can't. I can do, say, exec("ruby --version"), or even exec("ruby 'puts 1'"), but I can't do exec("ruby test.rb").
"ruby test.rb" works from the terminal.
Now... I need to exec a Ruby script. I can't. I can do, say, exec("ruby --version"), or even exec("ruby 'puts 1'"), but I can't do exec("ruby test.rb").
"ruby test.rb" works from the terminal.