On Mar 18, 6:59 pm, sal streets <[email protected]> wrote:
> Hi Fred,
>
> do you have any advice for what to do if the site is in development mode
> and not production mode?
>

well if it was in development mode the app should reload itself on
each request

> We have touch app_root/tmp/restart.txt and changes have not implemented

Just to make sure we're talking about the same thing, you touched tmp/
restart.txt where the app is deployed (not the systemwide /tmp). (this
is often somewhere like /var/www/app_name). And just to eliminate, the
unlikely, you are doing this on the correct server?

You could also just restart apache on your servers, although that
shouldn't be necessary.

If there is a capistrano recipe for the app then you should be able to
redeploy it via cap deploy:migrations (assuming a standard capfile)

Fred
>
> s
>
> sal streets wrote in post #988200:
>
>
>
>
>
> > Frederick Cheung wrote in post #988195:
> >> On 18 Mar 2011, at 18:10, sal streets <[email protected]> wrote:
>
> >>> we've recently got to the stage where we have a copy of the site on our
> >>> come up on the home page on localhost:3000
>
> >>> what do we have to do to make these changes register?
>
> >> If the app is in production mode you'll need to restart it (exactly
> >> depends on how the app was deployed. If it's using passenger then
> >> touching app_root/tmp/restart.txt should do the trick)
>
> >> Fred
>
> > Hi Fred,
>
> > Thanks for getting back to me.
>
> > yes it was deployed using passenger.
>
> > have looked in the tmp file and there is no restart.txt
>
> > is there a different command i can run to get the system to restart?
>
> --
> Posted viahttp://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