我遵循了our-boxen自述文件中的说明,但当我尝试运行boxen时,我一直收到5个错误。
我执行了Homebrew帮助页面上建议的所有建议(brew安装、brew医生、检查命令行工具/xcode是否已安装)。
当我尝试运行boxen时,我遇到了以下4个错误。我会在github上创建一个问题,但我不确定这是our-boxen问题还是自制问题。任何关于这些是什么类型的错误的方向都会非常有帮助。
[/opt/boxen/repo]$ ./script/boxen以下是我得到的错误:
1
Error: env -i PATH=/opt/boxen/homebrew/bin:/opt/boxen/homebrew/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin CFLAGS=-I/opt/boxen/homebrew/include LDFLAGS=-L/opt/boxen/homebrew/lib /usr/bin/gem install aws-sdk-v1 returned 1 instead of one of [0]2
Error: /Stage[main]/Crowdtap::Environment/Exec[env -i PATH=/opt/boxen/homebrew/bin:/opt/boxen/homebrew/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin CFLAGS=-I/opt/boxen/homebrew/include LDFLAGS=-L/opt/boxen/homebrew/lib /usr/bin/gem install aws-sdk-v1]/returns: change from notrun to 0 failed: env -i PATH=/opt/boxen/homebrew/bin:/opt/boxen/homebrew/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin CFLAGS=-I/opt/boxen/homebrew/include LDFLAGS=-L/opt/boxen/homebrew/lib /usr/bin/gem install aws-sdk-v1 returned 1 instead of one of [0]3.
Error: Could not update: Execution of 'brew boxen-install boxen/brews/kafka' returned 1: ==> Installing kafka from boxen/brews
==> Downloading http://mirrors.ibiblio.org/apache/kafka/0.8.2.1/kafka-0.8.2.1-src.tgz
Already downloaded: /opt/boxen/cache/homebrew/kafka-0.8.2.1-boxen1.tgz4.
Error: Your OS X keychain GitHub credentials do not have sufficient scope!
Scopes they have: []
Create a personal access token: https://github.com/settings/tokens
and then set HOMEBREW_GITHUB_API_TOKEN as the authentication method instead.
/usr/local/Library/Homebrew/utils/github.rb:212:in `raise_api_error': Validation Failed (GitHub::Error)5
Error: Execution of '/opt/rubies/1.9.3/bin/gem install 'rubocop' --version '~> 0.40' --source 'https://rubygems.org/' --no-rdoc --no-ri --verbose' returned 1: GET http://rubygems.org/specs.4.8.gz有没有人以前见过这种情况并知道如何解决它们?
发布于 2016-09-15 04:04:22
我意识到了我的错误。我试图克隆一个我无法访问的存储库,所以我切换到克隆正确的boxen存储库(https://github.com/boxen/our-boxen)。现在,这个方法工作得很好。
[~]$ xcode-select --install
[~]$ sudo rm -rf /opt/boxen
[~]$ sudo mkdir -p /opt/boxen
[~]$ sudo chown ${USER}:staff /opt/boxen
[~]$ git clone https://github.com/crowdtap/our-boxen /opt/boxen/repo
[~]$ cd /opt/boxen/repo
[/opt/boxen/repo]$ git remote rm origin
[/opt/boxen/repo]$ git remote add origin git@github.com:lydiastepanek/our-boxen.git
[/opt/boxen/repo]$ git push -u origin master --force
[/opt/boxen/repo]$ ./script/boxenhttps://stackoverflow.com/questions/39442552
复制相似问题