James Byrne wrote:
> I have a Ruby script that sends an email.  It works perfectly well when
> run from the command line of a user session, wheter in development or
> test mode.  When run by cron as the same user however, it fails with
> this:
> 

I have discovered that I get the same behaviour as observed in cron in a 
session if I set RAILS_ENV='production'.

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to