On Wed, Oct 20, 2010 at 9:14 AM, James <[email protected]> wrote:

> I don't believe this is what's wrong.
>
> >>>> - I've su'ed into cherokee user and then run the command (/usr/bin/env
> >>>> BUNDLE_GEMFILE=/stuff/teambox/Gemfile \ PWD=/stuff/teambox/script
> >>>> /stuff/teambox/script/server -e development -p 52576) and it works
> >>>> fine with no issues
>
> Does cherokee run a RoR application as any other user?
>

Depends.  There's an option in the general settings that specifies the
effective user and group.

On Tue, Oct 19, 2010 at 1:56 PM, James <[email protected]> wrote:

> - runs fine when I manually execute the Interpreter configuration in
> cherokee:
>
> (/usr/bin/env BUNDLE_GEMFILE=/stuff/teambox/Gemfile \
> PWD=/stuff/teambox/script /stuff/teambox/script/server -e development -p
> 52576)
>

So, the reverse proxy works if you spawn the server yourself?  In other
words, it's just the spawning that's giving you difficulties, not the
reverse proxy?

Is there any particular reason you're using /usr/bin/env instead of the
actual path? Actually, do you even need that, since you're using absolute
paths?  I haven't done much RoR hosting, but my Redmine instance I use with
just `/path/to/script/server -p 3000`.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to