On Aug 1, 12:08 pm, Frederick Cheung <[email protected]>
wrote:
> On Aug 1, 9:21 am, Anthony Burns <[email protected]> wrote:
>
> > On Jul 31, 1:56 pm, Frederick Cheung <[email protected]>
> > wrote:
>
> > Hmm... Doing it via the shell isn't really an option. The touch tmp/
> > restart.txt way is the only way I can figure out so far that I can
> > call from the controller. I don't want to require the user to use any
> > monitoring apps or anything outside the application. I'm trying to
> > make it as easy as possible for the user to install plugins, custom
> > permalinks, etc. without requiring them to manually restart the app.
> > Now the tmp/restart.txt method would work on mod_rails but there's
> > still people out there using other server technologies that I'd need
> > to do something different?
>
> There's no one size fits all. Different deployments handle this in
> different ways and typically rails isn't aware of how it's deployed
> (another complication would be if the app was hosted across several
> machines)
>
> Fred

I guess that would bring me to my next question. Besides restarting
the Rails application itself, is there a way I can load my plugins/
routes/etc. into the application once it's running? My whole dilemma
here is to allow Rails to do the same as say, a PHP application like
WordPress does, with one-click plugin activation.
--~--~---------~--~----~------------~-------~--~----~
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