schubergphilis / knife-github

Chef knife plugin to interact with the github enterprise appliance
Other
2 stars 4 forks source link

error if cookbook_path is a string #17

Closed dwaler closed 10 years ago

dwaler commented 10 years ago

The documentation indicates the cookbook path can be a string or an array. However, if I have a string as cookbook_path in knife.rb: [jenkins@summer ~]$ knife github clone -a ERROR: knife encountered an unexpected error This may be a bug in the 'github clone' knife command or plugin Please collect the output of this command with the -VV option before filing a bug report. Exception: NoMethodError: undefined method `first' for "/home/jenkins/cookbooks":String

sbotman commented 10 years ago

solved