Re: Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
> > I was able to make a db.rb which does a require 'active_record' and > establishes a connection. > > I then have a Test class that inherits from ActiveRecord::Base. > > I wasn't really sure the best way forward from there. > > Because I wanted static content available and saw a post about using

Re: Apache Passenger and Reloader

2013-01-02 Thread David C gurugeek
On Jan 3, 2013, at 2:07 AM, Koaps Freeman wrote: > cool, I got that running so I will play with it. I guess as long as the > camping server stays up there's no issues, but if it goes down, and apache > sees that then I have to restart apache to recover. You would just need to restart camping a

Re: Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
cool, I got that running so I will play with it. I guess as long as the camping server stays up there's no issues, but if it goes down, and apache sees that then I have to restart apache to recover. No biggie, at least reloader is seeing the code changes and recovering from errors. Thanks again.

Re: Apache Passenger and Reloader

2013-01-02 Thread David C gurugeek
I understand! To achieve exactly that just use thin on your remote webserver (and apache or nginx as proxy..if you need the setting I can try to help but you can certainly find it on google too) then you can just drop your script via FTP and it will auto reload remotely too. Even on the days whe

Re: Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
Thanks for the reply David, I thought about trying that also. Right now this is just for home devel stuff so it doesn't need to be robust or anything, I just develop on my laptop which is separate from the webserver so I was hoping I could just upload stuff and the server reloads without me havin

Re: Apache Passenger and Reloader

2013-01-02 Thread David C gurugeek
Hello! I am running apache with passenger too and I couldn't find a way to have a reloader feature as of now..this said you might want to use apache proxy to run directly camping (e.g. when you test code) using the default webserver (e.g. thin). I am using that to avoid the continuous reload eve

Apache Passenger and Reloader

2013-01-02 Thread Koaps Freeman
Hi Guys, I just started playing with camping and so far it's pretty awesomo. After much messing around I was finally able to get Apache Passenger, Camping and ActiveRecord to PostgreSQL working. One thing I was wondering about, can I use reloader with Apache Passenger? Always having to touch/rm