knife-env-diff
knife-env-diff copied to clipboard
undefined method `[]' for nil:NilClass (NoMethodError)
$ knife environment diff <env1> <env2>
/home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:75:in `get_cookbook_version': undefined method `[]' for nil:NilClass (NoMethodError)
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:51:in `block (3 levels) in run'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:50:in `each'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:50:in `block (2 levels) in run'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:45:in `each'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:45:in `block in run'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:44:in `each_value'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/knife-env-diff-0.0.4/lib/chef/knife/env-diff.rb:44:in `run'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/chef-11.18.6/lib/chef/knife.rb:493:in `run_with_pretty_exceptions'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/chef-11.18.6/lib/chef/knife.rb:174:in `run'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/chef-11.18.6/lib/chef/application/knife.rb:139:in `run'
from /home/bgoad/.rvm/gems/ruby-2.1.0/gems/chef-11.18.6/bin/knife:25:in `<top (required)>'
from /home/bgoad/.rvm/gems/ruby-2.1.0/bin/knife:23:in `load'
from /home/bgoad/.rvm/gems/ruby-2.1.0/bin/knife:23:in `<main>'
from /home/bgoad/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
from /home/bgoad/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'