【发布时间】:2017-01-14 02:17:39
【问题描述】:
我已经建立了一本食谱,它又依赖于一个 github 托管的。
这是我的berksfile的开始
source "https://api.berkshelf.com"
cookbook 'r', github: 'stevendanna/cookbook-r'
cookbook 'apt'
[...]
但是在执行vagrant up 命令时,我得到了这样的结果:
The stdout and stderr are shown below:
stdout: Resolving cookbook dependencies...
Fetching 'analytics' from source at cookbooks/analytics
Fetching cookbook index from https://api.berkshelf.com...
stderr: Ignoring wdm-0.1.1 because its extensions are not built. Try: gem pristine wdm --version 0.1.1
Unable to satisfy the following requirements:
- `r (>= 0.0.0)` required by `analytics-0.2.0`
看起来 'r' 食谱没有被 berkshelf 正确地从 github 中提取出来,尽管我在上面设置了 berksfile 上的 repo 时确实应该这样做。
我是否必须在其他地方设置显式路径或 URL 或其他位?
这是包含食谱的配置脚本:analytics-vagrant
(使用 Vagrant 1.8.7)
【问题讨论】:
标签: git vagrant chef-infra berkshelf