Philippe Jayet wrote: > Hi Chris, > > I have exactly the same problem here, with the following config: Debian > Sarge, ruby 1.8.4, Rails 1.2.3 (with some patches backported from > trunk), attachment_fu (revision 2834), RubyInline 3.6.2, mongrel 1.0.1. > > The two same errors are happening on view-only pages, if an image exists > or not (model with attachment_fu). > > Have you found a solution? > > Thanks, > > Philippe > > It was as Ezra said:
Monit starts your mongrels with a fully clean environemnt. Meaning none of your normal ENV vars are set. WHat you need to do is put this in the top of your environment.rb ENV['HOME'] = "/home/foobar" Then restart monit and all the mongrels. This will fix the problem. It's all working lovely now :-) Hope this helps Chris -- ---------------------------- http://www.autopendium.co.uk Stuff about old cars --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---