From: Jano Svitok Date: 2007-10-01T04:01:00+09:00 Subject: Re: Calling Ruby from PHP fails on "requires 'mysql'" On 9/30/07, Mark Meijer wrote: > > > Execution of my script ends at "require 'mysql'". > > puts statements before it are printed to the log file, then nothing. > > How can I see the error there? 1. try adding -w switch to ruby to see the warnings (ruby -w ...) 2. try saving stderr as well : (... 2>/Users/.../myscript.err) 3. I'm not sure what will that & do -- especially what will happen if the calling php script stops. Jano