[Rails] Re: Re: Re: Dealing with Application error (Rails) in produc

Tom Davies
Wed, 05 Apr 2006 18:41:21 -0000

Yes, everytime you move your code to the production server you should
restart your lighttpd.  If you haven''t tried already, take a look at
Capistrano (aka - SwitchTower).  It makes this pretty painless.

To restart lighttpd, I am using a script like this one:

http://textsnippets.com/posts/show/241

I am also hosted at TextDrive and someone else said that script is
there already for you, but I could not find it, so I created my own
from that snippet.

Good luck,

Tom

On 4/5/06, Dan Croak <dancroak@yahoo.com> wrote:
> Tom Davies wrote:
> > Hi Dan,
> >
> > I think you will find that the exception_notification plugin will help
> > immensely for you.  I wrote up a brief entry on my blog about it:
> >
> > http://blog.atomgiant.com/articles/2006/03/20/global-error-handling
> >
> > Feel free to email me directly if you have any problems.
> >
> > Tom
>
>
> Thanks, Tom.  That will be a big help for emailing the erros to me.
I''m
> configuring ActionMailer for the first time now (must have been why I
> haven''t been able to get any emails to send thus far).
>
> I think the other problems I''ve been having are "rookie"
problems as
> well.  I think I have dug up information through my own research that I
> have to restart the FCGI processes every time I move my Rails code up to
> the production server?  Is that right and I am using the correct
> language?  I''m still not sure exactly how I go about doing that
> (restarting FCGI, but I''ll keep looking while I await a response).
>
> Thanks again to all for your help... Hopefully you''ll be able to
prove
> the old axiom wrong and you CAN teach an old ASP.NET dog new Ruby on
> Rails tricks...  :)
>
> Dan
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Tom Davies