Thanks Jano,


I am already including rubygems, here's my requires list..

$LOAD_PATH << File.expand_path(File.dirname(__FILE__))
require 'rubygems'
require 'mysql'

I'm not seeing an error message when I call my Ruby script from PHP with

$s = sprintf("ruby /Users/mark/scripts/myscript.rb > 
/Users/mark/scripts/myscript.log &");
system($s);

I see the puts statements from my script in the log file, no errors.

-- 
Posted via http://www.ruby-forum.com/.