Hi,
This might help somebody else, got the following error while doing a deploy:
Error during perform: NameError - uninitialized constant Zip::File
It appears codedeploy-agent requires rubyzip gem instead of zip.
Installed it and all seems fine.
OS - Ubuntu Xenial
Regards.
JJ