This doesn't work for me. I can't remove depends from metadata.rb file because Chef fails on OpsWorks instance complaining about a missing dependency. And leaving the dependencies is a problem because berksfile tries to lookup for opsworks-cookbooks which are not in the supermarket. My hack was to move the cookbook to the root of the repo where I have the Berksfile.
This doesn't work for me. I can't remove depends from metadata.rb file because Chef fails on OpsWorks instance complaining about a missing dependency. And leaving the dependencies is a problem because berksfile tries to lookup for opsworks-cookbooks which are not in the supermarket. My hack was to move the cookbook to the root of the repo where I have the Berksfile.