lib/berkshelf.rb in berkshelf-5.6.1 vs lib/berkshelf.rb in berkshelf-5.6.2

- old
+ new

@@ -1,9 +1,13 @@ # XXX: work around logger spam from hashie # https://github.com/intridea/hashie/issues/394 -require "hashie" -require "hashie/logger" -Hashie.logger = Logger.new(nil) +begin + require "hashie" + require "hashie/logger" + Hashie.logger = Logger.new(nil) +rescue LoadError + # intentionally left blank +end require "buff/extensions" require "cleanroom" require "digest/md5" require "forwardable"