Refresh Gem list when building the app
commit8fc898a63e742190903d331958d3b6627f819624
authorEric Wong <normalperson@yhbt.net>
Tue, 26 May 2009 03:29:55 +0000 (25 20:29 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 26 May 2009 03:32:34 +0000 (25 20:32 -0700)
tree8956a082e64bbc1287b4eadb27267b71948c1ce9
parent2c6f625b6cb46be5c2dfc056680ba8dc2c19e334
Refresh Gem list when building the app

On application reloads, Gems installed by the Ruby instance may
be different than when Unicorn started.  So when preload_app is
false, HUP-ing Unicorn will always refresh the list of Gems
before loading the application code.
lib/unicorn.rb