1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/test/config/prune_bundler_with_multiple_workers.rb
Alexander Popov 39f9c72d93
Fix recursive prune_bundler
Resolve #2319
2020-07-27 15:02:11 +03:00

14 lines
182 B
Ruby

require 'bundler/setup'
Bundler.setup
prune_bundler true
workers 2
app do |env|
[200, {}, ["embedded app"]]
end
lowlevel_error_handler do |err|
[200, {}, ["error page"]]
end