unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Bad file descriptor on reload under Ruby 2.0
@ 2013-12-12 18:37 Michael Fischer
  0 siblings, 0 replies; only message in thread
From: Michael Fischer @ 2013-12-12 18:37 UTC (permalink / raw)
  To: unicorn list

If you're getting an EBADF (bad file descriptor) error when re-execing
Unicorn under Ruby >= 2.0 (see, e.g,
http://rubyforge.org/pipermail/mongrel-unicorn/2013-August/001858.html),
it's likely that you're re-running Unicorn via "bundle exec":

http://developer.zendesk.com/blog/2013/10/09/ruby-2-0-changes-exec-bundler/

The fix is to use a binstub for unicorn.

Best regards,

--Michael
_______________________________________________
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-12 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-12 18:37 Bad file descriptor on reload under Ruby 2.0 Michael Fischer

Code repositories for project(s) associated with this inbox:

	../../../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).