jonlives / knife-spork

A workflow plugin to help many devs work with cookbooks and environments at once
Other
335 stars 97 forks source link

TypeError in current_user (lib/knife-spork/plugins/plugin.rb#L103) when git is not installed #220

Open hrak opened 6 years ago

hrak commented 6 years ago

knife-spork throws a TypeError: class or module required for rescue clause when knife-spork is run in an env where git is not installed.

The rescue nil on line 103 of lib/knife-spork/plugins/plugin.rb does not seem to be valid Ruby.

Env: Docker container chef/chefdk:1.6.11 knife-spork-1.6.3