Skip to content

Commit

Permalink
Friendlier dev setup
Browse files Browse the repository at this point in the history
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... :/
  • Loading branch information
deivid-rodriguez committed Jul 15, 2018
1 parent b623c03 commit 4379ebc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Rakefile
Expand Up @@ -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
Expand Down

0 comments on commit 4379ebc

Please sign in to comment.