2
我按照our-boxen自述文件中的說明操作,但當我嘗試運行boxen時,我總是收到5個錯誤。運行boxen(our-boxen)時出現5個boxen錯誤
我做了所有建議在自制幫助頁面上的建議(brew安裝,brew醫生,檢查命令行工具/ xcode安裝)。
我有這4個錯誤,當我嘗試運行boxen。我會在github上創建一個問題,但我不確定這是否是我們的問題或自制問題。任何關於這些錯誤類型的方向都會很有幫助。
[/opt/boxen/repo]$ ./script/boxen
這些都是錯誤的,我得到:
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]
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]
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.tgz
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)
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
有沒有人看到這一點,知道如何解決這些問題?