1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Added warning to STDERR if we detect Rails 3.x (< 4) about Sidekiq not supporting this version any more

This commit is contained in:
Matthew Savage 2017-10-27 07:08:25 +11:00 committed by Mike Perham
parent ee3490d12f
commit 4dc90f0214

View file

@ -49,3 +49,9 @@ module Sidekiq
end
end if defined?(::Rails)
end
if defined?(::Rails) && ::Rails::VERSION::MAJOR < 4
$stderr.puts("**************************************************")
$stderr.puts("⛔️ WARNING: Sidekiq server is no longer supported by Rails 3.2 - please ensure your server/workers are updated")
$stderr.puts("**************************************************")
end