[Mongrel] strange bugs while using mongrel, while running in development (and also sometimes in production mode)

hemant gethemant at gmail.com
Thu Aug 3 22:35:48 EDT 2006


Ok the problem is solve, and it was nothing to do with mongrel.

On 8/4/06, hemant <gethemant at gmail.com> wrote:
>
> Worst part is, when i manually open
> http://my_host_name.com:3000/foobar/price it opens normally and yet
> periodically_call_remote fails to open the URL.
>
> just down below the code, I have one more periodically_call_remote which
> works flawlessly.
>
>
> On 8/4/06, hemant <gethemant at gmail.com> wrote:
> >
> > Ok, I will worry abt apache proxy configuration later. First,
> >
> > 1. I did upgrade to pre-release mongrel
> > 2. Fortunately my app was written to accomadate differenet mountable
> > bases.I use paramaters.yml to load some directory specifc things. So
> > stuff generally workd(except some image urls that were hardcoded!!).
> > 3. so, currently for the mongrel instance that I am running from my
> > $HOME directory.I do
> >   cd public_html/foobar/
> >
> >   mongrel_rails start -e production --prefix=/foobar
> > And my app generally works, but the problem with
> > periodically_call_remote persists.
> >
> >
> > On 8/3/06, Zed Shaw < zedshaw at zedshaw.com> wrote:
> >
> > > On Thu, 2006-08-03 at 20:22 +0530, hemant wrote:
> > > > Well, at least now i am not getting application.rb and routes.rbfile
> > > > not found error.
> > > Ok, good.
> > >
> > > > But I am still getting errors in perdiodically_call_remote. Here is
> > > > the code snippet:
> > > <snip>
> > > > Recognition failed for "/foobar/public/price"
> > > > Where foobar is application name.
> > >
> > > Unless you both configure the fronting proxy AND use the latest
> > > pre-release mongrel AND use the --prefix option, then having your app
> > > mounted at /foobar "application" will not work.  Try:
> > >
> > > sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/
> > >
> > > And then:
> > >
> > > mongrel_rails start -e production --prefix=/foobar
> > >
> > > And see if that works.  Lots of other stuff will most likely break
> > > though.  You have to plan ahead for making your RoR app mountable at
> > > different bases.
> > >
> > >
> > > --
> > > Zed A. Shaw
> > > http://www.zedshaw.com/
> > > http://mongrel.rubyforge.org/
> > > http://www.railsmachine.com/ -- Need Mongrel support?
> > >
> > > _______________________________________________
> > > Mongrel-users mailing list
> > > Mongrel-users at rubyforge.org
> > > http://rubyforge.org/mailman/listinfo/mongrel-users
> > >
> >
> >
> >
> > --
> > nothing much to talk
> >
>
>
>
> --
> nothing much to talk
>



-- 
nothing much to talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060804/bfb2974a/attachment-0001.html 


More information about the Mongrel-users mailing list