From 2f421fa294d7978b360b3b7d0f209dbf3a08dce5 Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Wed, 21 Dec 2016 20:36:08 -0500 Subject: [PATCH] Remove warning in ActiveJob Currently it causes: ``` activejob/Rakefile:5: warning: already initialized constant ACTIVEJOB_ADAPTERS ``` --- activejob/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activejob/Rakefile b/activejob/Rakefile index 3953116061..c074487fbe 100644 --- a/activejob/Rakefile +++ b/activejob/Rakefile @@ -2,7 +2,7 @@ require "rake/testtask" #TODO: add qu back to the list after it support Rails 5.1 ACTIVEJOB_ADAPTERS = %w(async inline delayed_job que queue_classic resque sidekiq sneakers sucker_punch backburner test) -ACTIVEJOB_ADAPTERS -= %w(queue_classic) if defined?(JRUBY_VERSION) +ACTIVEJOB_ADAPTERS.delete("queue_classic") if defined?(JRUBY_VERSION) task default: :test task test: "test:default"