so i have ruby script that simply writes to a test.txt file with "hello"
i have a php script that executes this ruby script, when a user clicks a link.
i find that test.txt is empty.
however when i run by itself
$> ruby sayhi.rb
test.txt is filled with "hello"