Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gemfiles/Gemfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ gem 'sequel'
gem 'delayed_job', require: false
gem 'resque', require: false

unless RUBY_VERSION.to_i <= 1
gem 'sidekiq', require: false
# Freeze Sidekiq to < 5 in Ruby 2.2 Gemfiles
if RUBY_VERSION >= '2'
gem 'sidekiq', (RUBY_VERSION >= '2.2.2' ? '~> 5' : '~> 4'), require: false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A beautiful line of code 😆 👍🏼

@olleolleolle olleolleolle Jun 15, 2017

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminds us of the game "inte nudda golvet", "gulv brænder" etc.

Avoiiiiid the warnings.

end