unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Changing Ruby version
@ 2013-02-14 14:10 Jérémy Lecour
  2013-02-14 20:20 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Jérémy Lecour @ 2013-02-14 14:10 UTC (permalink / raw)
  To: Liste Unicorn

Hi,

I'm using Unicorn with rbenv to have different Ruby versions between projects.

This morning, I wanted to change the Ruby version used by an app.
I've updated the content of .ruby-version, then sent a USR2 signal to
the master process to restart Unicorn (as I always do).

I've noticed that it was still using the "old" Ruby binary.

If I started a new irb console, the Ruby was correct.

Then I thought that maybe the way forking works allows to change the
version of Unicorn itself and everything "below", but not the Ruby
binary.

Am I right ?
Is there a way to do a rolling restart and change the Ruby binary at
the same time?

thanks

--
Jérémy Lecour :
http://jeremy.wordpress.com - http://twitter.com/jlecour
_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2013-02-14 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-14 14:10 Changing Ruby version Jérémy Lecour
2013-02-14 20:20 ` Eric Wong
2013-02-14 21:35   ` Jérémy Lecour

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