From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Cc: Hongli Lai <hongli@phusion.nl>
Subject: Re: unicorn_rails cleanup (possible fix for Rails3) pushed
Date: Fri, 11 Jun 2010 20:32:09 +0000 [thread overview]
Message-ID: <20100611203208.GA6165@dcvr.yhbt.net> (raw)
In-Reply-To: <20100608192034.GA2940@dcvr.yhbt.net>
Eric Wong <normalperson@yhbt.net> wrote:
> Hongli Lai <hongli@phusion.nl> wrote:
> > Hi Eric.
> >
> > It would appear that recent Rails 3 changes have broken unicorn_rails,
> > just like they broke Phusion Passenger. Here's a patch which fixes the
> > problem.
> > http://gist.github.com/429944
>
> Thanks Hongli, so this only affects people who remove the
> config.ru that Rails 3 creates for them? Yikes...
And for the completely bizzare: Rails 3 is ultra aggressive
when searching for config.ru, it walks up the directory tree,
even going all the way up to "/" if it can't find config.ru.
I had a $HOME/config.ru leftover from a test on one of my boxes, and
usually have my working directory in $HOME/unicorn. This was was
causing the unicorn_rails test for this (t0301) to fail because that
test relies on Rails /not/ being able to find config.ru.
So yes, don't leave random artifacts lying around and love strace :)
--
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
next prev parent reply other threads:[~2010-06-11 21:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 12:24 unicorn_rails cleanup (possible fix for Rails3) pushed Hongli Lai
2010-06-08 19:20 ` Eric Wong
2010-06-08 19:25 ` Hongli Lai
2010-06-08 20:55 ` Eric Wong
2010-06-11 20:32 ` Eric Wong [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-06-04 1:58 Eric Wong
2010-06-04 2:13 ` Michael Guterl
2010-06-04 2:48 ` Eric Wong
2010-06-08 2:49 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/unicorn/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100611203208.GA6165@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=hongli@phusion.nl \
--cc=mongrel-unicorn@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).