mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
39f9c72d93
Resolve #2319
14 lines
182 B
Ruby
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
|