Closed carlossg closed 11 years ago
+1 I keep running into this, too. I'm not sure this is the best solution; it would be better to have print the dependency ("resolution") problem to the user instead.
This issue is happening all the time when using librarian-chef and downgrading cookbook versions from the Cheffile. This is confusing, do you think you can push a new release to include this fix? In the case of downgrading, running librarian-chef update
sorts everything out. That could be displayed to the user as an info message.
This is released in v0.1.1
.
\o/ I'll test this tomorrow morning
If none of the dependencies can be resolved the resolution object is nil in persist_resolution. Check and print the "Could not resolve the dependencies." message