Skip to content

Commit

Permalink
fix: undefined method silence_warnings' for main:Object
Browse files Browse the repository at this point in the history
this errors raises in gem resque-reports, if use activesupport
version 3.1.12

But silence_warnings not suspend warnings about `Resque::Helpers` because
resque reports not use warnigns, and this warn still present if use silence_warnings
  • Loading branch information
artofhuman committed Aug 21, 2015
1 parent 555f1f8 commit e07a446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/integration/unique.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require 'active_support/core_ext/module/aliasing'

require 'resque/plugins/lock'
silence_warnings { require 'resque/plugins/progress' } # suppress Resque::Helpers warn
require 'resque/plugins/progress'

module Resque
module Integration
Expand Down

0 comments on commit e07a446

Please sign in to comment.