diff options
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r-- | lib/unicorn.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 4a4e2e1..1ca0113 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -582,6 +582,10 @@ module Unicorn end def build_app! + if defined?(Gem) && Gem.respond_to?(:refresh) + logger.info "Refreshing Gem list" + Gem.refresh + end @app = @app.call if @app.respond_to?(:arity) && @app.arity == 0 end |