mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Use conditionalized requiring for the test environment without Bundler.
This commit is contained in:
parent
6b96a9398f
commit
063c721c13
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
|||
# Copyright (c) 2011 Evan Phoenix
|
||||
# Copyright (c) 2005 Zed A. Shaw
|
||||
|
||||
require "bundler/setup"
|
||||
begin
|
||||
require "bundler/setup"
|
||||
rescue LoadError
|
||||
require "net/http"
|
||||
require "timeout"
|
||||
end
|
||||
require "minitest/autorun"
|
||||
require "minitest/pride"
|
||||
require "puma"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue