package: itamae version: severity: important tags: patch We cannot exec itamae with below error
# itamae Traceback (most recent call last): 4: from /usr/bin/itamae:4:in `<main>' 3: from /usr/lib/ruby/vendor_ruby/thor/base.rb:444:in `start' 2: from /usr/lib/ruby/vendor_ruby/thor.rb:365:in `dispatch' 1: from /usr/lib/ruby/vendor_ruby/thor.rb:365:in `new' /usr/lib/ruby/vendor_ruby/itamae/cli.rb:16:in `initialize': undefined method `upcase' for nil:NilClass (NoMethodError) Just adding this patch from upstream version fixes it. diff --git a/lib/itamae/cli.rb b/lib/itamae/cli.rb index 06bba75..a90c344 100644 --- a/lib/itamae/cli.rb +++ b/lib/itamae/cli.rb @@ -12,7 +12,7 @@ module Itamae def initialize(*) super - Itamae.logger.level = ::Logger.const_get(options[:log_level].upcase) + Itamae.logger.level = ::Logger.const_get(options[:log_level].upcase) if options[:log_level] Itamae.logger.formatter.colored = options[:color] end