unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Matt Mongeau <halogenandtoast@gmail.com>
To: unicorn general mailing list <mongrel-unicorn@rubyforge.org>
Subject: Re: Unicorn Nginx Issue
Date: Tue, 13 Oct 2009 15:03:14 -0400	[thread overview]
Message-ID: <91d915350910131203w2b67ddbcjba9189c2eac303d2@mail.gmail.com> (raw)
In-Reply-To: <20091013185314.GA15026@dcvr.yhbt.net>

sudo gem check -t unicorn

fails

Failure:
test_rack_lint_big_put(RequestTest) [./test/unit/test_request.rb:178]:
<nil> expected but was
<"

followed by lots whitespace

">.
Error:
test_expand_addr(TestConfigurator):
SocketError: getaddrinfo: nodename nor servname provided, or not known
    /opt/local/lib/ruby/gems/1.8/gems/unicorn-0.93.2/lib/unicorn/configurator.rb:346:in
`pack_sockaddr_in'
    /opt/local/lib/ruby/gems/1.8/gems/unicorn-0.93.2/lib/unicorn/configurator.rb:346:in
`expand_addr'
    ./test/unit/test_configurator.rb:35:in `call'
    ./test/unit/test_configurator.rb:35:in `test_expand_addr'
ERROR:  98 tests, 4748 assertions, 1 failures, 1 errors


On Tue, Oct 13, 2009 at 2:53 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Matt Mongeau <halogenandtoast@gmail.com> wrote:
>
> Hi Matt, please don't top post, thanks.
>
>> Got it working, I had a bad value in my config.
>>
>> I had
>> listen '/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock',
>> :backlog => 1024
>> I guess I needed
>> listen 'unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock',
>> :backlog => 1024
>
> Both values you had above really should just work.  Assuming you've
> installed unicorn (>= 0.93.0) as a gem, can you run:
>
>  gem check -t unicorn
>
> and tell me if it passes?  If you installed from the tgz or git, you can
> also try running the following from the source tree:
>
>   make test/unit/test_configurator.rb
>
> Thanks.
>
> --
> Eric Wong
> _______________________________________________
> mongrel-unicorn mailing list
> mongrel-unicorn@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
>

  reply	other threads:[~2009-10-13 19:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13 16:57 Unicorn Nginx Issue Matt Mongeau
2009-10-13 17:20 ` Brian Ketelsen
2009-10-13 17:27   ` Matt Mongeau
2009-10-13 17:34     ` Matt Mongeau
2009-10-13 18:53       ` Eric Wong
2009-10-13 19:03         ` Matt Mongeau [this message]
2009-10-13 19:43           ` Eric Wong
2009-10-13 20:11             ` Matt Mongeau

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=91d915350910131203w2b67ddbcjba9189c2eac303d2@mail.gmail.com \
    --to=halogenandtoast@gmail.com \
    --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).