task/gemgem.rb in rest-more-3.3.2 vs task/gemgem.rb in rest-more-3.3.3

- old
+ new

@@ -98,11 +98,15 @@ return if test_files.empty? if ENV['COV'] || ENV['CI'] require 'simplecov' if ENV['CI'] - require 'coveralls' - SimpleCov.formatter = Coveralls::SimpleCov::Formatter + begin + require 'coveralls' + SimpleCov.formatter = Coveralls::SimpleCov::Formatter + rescue LoadError => e + puts "Cannot load coveralls, skip: #{e}" + end end SimpleCov.start do add_filter('test/') add_filter('test.rb') end