New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict between knife/knife.rb and Berkshelf 2.x #314
Comments
You should scope that load call explicitly: I believe its Kernel.load() you Nathaniel Eliot
|
Thanks for the tip about load.rb -> Kernel.load() in knife.rb. That did resolve the "`load': wrong number of arguments (1 for 0)" error Berkshelf v2.x was throwing. What I'm seeing now, trying to run ironfan v6.1.6 with berkshelf v2.0.18, is that every instance of "Chef::Config[...]" in knife-rb and its includes causes berkshelf to throw this error:
|
Tried to upgrade to Berkshelf 2.x and found that there is a conflict between the line in knife/knife.rb:
It shows up if you run any berks 2.x commands:
The code in berkshelf has defined another "load" method that seems to be in the scope of the code in the knife.rb. So when the knife.rb calls load, its calling the one the berkshelf/mixin/config.
It looks like berkshelf refactored that code in 3.x.beta but I haven't seen if that still has the same problem or not.
The text was updated successfully, but these errors were encountered: