undefined method `log_level' for main:Object (NoMethodError)

301 views
Skip to first unread message

meInvent bbird

unread,
Apr 15, 2016, 10:35:43 PM4/15/16
to opscode-chef-openstack
./knife.rb client list
./knife.rb:5:in `<main>': undefined method `log_level' for main:Object (NoMethodError)


after register in https://manage.chef.io/organizations/... and downloaded starter

and chmod 771 knife.rb and run

got error

Saravanan Vc

unread,
May 16, 2016, 6:27:14 PM5/16/16
to opscode-chef-openstack
running it from another directory will fix the problem. when you execute knife from the same  directory as knife.rb, windows tries to execute knife.rb instead of the knife from gem directory
Reply all
Reply to author
Forward
0 new messages