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:
parent
ee3490d12f
commit
4dc90f0214
1 changed files with 6 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue