Closed drwahl closed 8 years ago
Hi there -- with a Berkfiles.lock
in the repo, if you're running berks install
from the repo, it shouldn't even try to be re-resolving dependencies. I wouldn't expect that error if there's a lockfile in place already. If you're trying to use it from a dependent cookbook (it sounds like maybe you are), we've seen a number of bugs related to this. Check out #173 and #170. I think this is a Berkshelf bug that can be resolved by using the ruby solver.
Correct, this is being pulled in as a dep from another cookbook. #173 suggests adding the "solver", but doesn't mention where to add that. Is there a config file somewhere that comment is referring to?
It's part of Berkshelf itself -- you can add solver :ruby, :required
and newer Berkshelf will use a different dependency solver. It was added in https://github.com/berkshelf/berkshelf/pull/1482.
Looks like adding this to the Berksfile (in my cookbook that is calling elkstack as a dependency) fixed my issue. Thanks @martinb3!
Great!
When trying to "berks install" after adding this cookbook to my environment, I am getting the following error/timeout:
Any ideas why dependencies can't be resolved?