当我执行berks安装时,我收到错误
Error retrieving universe from source: https://supermarket.chef.io/
* [Berkshelf::APIClient::TimeoutError] Unable to connect to: https://supermarket.chef.io/
Unable to satisfy the following requirements:
- `tar (~> 2.0.0)` required by `user-specified dependency`
Unable to find a solution for demands: java (0.1.0), tomcat (0.1.0), tar (~> 2.0.0)
虽然我可以通过浏览器连接到https://supermarket.chef.io/
,但无法通过cmd.a
supermarket.chef.io
这是我的berksfile
source 'https://supermarket.chef.io'
metadata
cookbook 'java', path: '../java'
cookbook 'tar', '~> 2.0.0'