J
James Dinkel
I'm using ruby 1.8.6 on RHEL 5.3. I also had this problem with ruby
1.8.5 that comes with RHEL. I had hoped the ruby upgrade would fix it
but it didn't.
Anyway, no regexps will match, even the most blatant matches, when the
script is run from cron.
A line like '/.*/.match("myrandomstring")' matches just fine when the
script is run from the console, but it returns nil when run from cron.
And that regex should match ANYTHING.
I'm not sure if this is an issue with ruby or if it is something with
cron, but I really need regex's to work from cron scripts. Help?
1.8.5 that comes with RHEL. I had hoped the ruby upgrade would fix it
but it didn't.
Anyway, no regexps will match, even the most blatant matches, when the
script is run from cron.
A line like '/.*/.match("myrandomstring")' matches just fine when the
script is run from the console, but it returns nil when run from cron.
And that regex should match ANYTHING.
I'm not sure if this is an issue with ruby or if it is something with
cron, but I really need regex's to work from cron scripts. Help?