From: Lawrence Pit <lawrence.pit@gmail.com>
To: Eric Wong <normalperson@yhbt.net>
Cc: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Should USR2 always work?
Date: Wed, 23 Nov 2011 16:31:24 +1100 [thread overview]
Message-ID: <178B303D-5067-430E-BC7E-9C4C11442AD8@gmail.com> (raw)
In-Reply-To: <20111122030038.GA26218@dcvr.yhbt.net>
> I brought up a "bring-your-own-executable" deployment a few months ago
> but haven't heard any feedback. Here it is for Bundler:
>
> http://mid.gmane.org/20110819022316.GA2951@dcvr.yhbt.net
I tried this out by going back to a previous version of bundler, then deployed, unfortunately doesn't seem to work for me:
executing ["/srv/ec/current/script/unicorn_byoe", "-D", "-E", "staging", "-c", "/srv/ec/current/config/unicorn/staging.rb"] (in /srv/ec/releases/20111123052840)
/opt/ree/bin/ruby: no such file to load -- bundler/setup (LoadError)
Sending QUIT and then start anew works fine. Upgraded back to latest, tried again, and again no luck. QUIT + start is the only thing that works then.
Tried a slightly modified version of unicorn_byoe, I'm using rails:
#!/opt/ree/bin/ruby
require File.expand_path("../../config/boot.rb", __FILE__)
# Gem.bin_path(gem_name, executable_name, *version_requirements)
load Gem.bin_path("unicorn", "unicorn_rails")
Cheers,
Lawrence
_______________________________________________
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
prev parent reply other threads:[~2011-11-23 5:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 23:14 Should USR2 always work? Laurens Pit
2011-11-22 1:16 ` Eric Wong
2011-11-22 1:55 ` Lawrence Pit
2011-11-22 3:00 ` Eric Wong
2011-11-23 5:31 ` Lawrence Pit [this message]
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=178B303D-5067-430E-BC7E-9C4C11442AD8@gmail.com \
--to=lawrence.pit@gmail.com \
--cc=mongrel-unicorn@rubyforge.org \
--cc=normalperson@yhbt.net \
/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).