1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Friendlier dev setup

Don't force everyone running puma's tests to uninstall every gem
matching /puma/ from their system. Whatever problem this was fixing, it
seems like the wrong solution for it... :/
This commit is contained in:
David Rodríguez 2018-05-09 15:45:19 -03:00
parent 36964ec429
commit 13b0657dcf
No known key found for this signature in database
GPG key ID: 1008A258BB37309C

View file

@ -73,16 +73,6 @@ else
task :test => [:compile]
end
task :test => [:ensure_no_puma_gem]
task :ensure_no_puma_gem do
Bundler.with_clean_env do
out = `gem list puma`.strip
if !$?.success? || out != ""
abort "No other puma version should be installed to avoid false positives or loading it by accident but found #{out}"
end
end
end
namespace :test do
desc "Run the integration tests"
task :integration do