Warnings when loading environment : already initialized constant ImageMagickError
Opened this issue · 0 comments
Uelb commented
/Users/Thomas/.rvm/gems/ruby-2.2.2/bundler/gems/simplecov-badge-beffc405c79e/lib/simplecov-badge/formatter.rb:1: warning: already initialized constant ImageMagickError
/Users/Thomas/.rvm/gems/ruby-2.2.2/bundler/gems/simplecov-badge-beffc405c79e/lib/simplecov-badge.rb:6: warning: previous definition of ImageMagickError was here
Maybe you should create a separate file for the error, like in https://github.com/zigotto/googl/blob/master/lib/googl/error.rb
And require it
https://github.com/zigotto/googl/blob/master/lib/googl.rb#L5
(Not sure if the recommended way though)