每這個github issue conversation和這個answer to a relevant SO question我已經執行兩個以下命令:轉爲加密的HTTPS
$ bundle config --global github.https true
$ git config --global url."https://github.com".insteadOf git://github.com
但是當我使用bundle install
我仍然得到以下警告消息重新:GITS未加密的協議:
The git source uses the `git` protocol, which transmits data without encryption.
Disable this warning with `bundle config git.allow_insecure true`,
or switch to the `https` protocol to keep your data secure.
兩種:
git://github.com/jnicklas/capybara.git
git://github.com/thoughtbot/shoulda-matchers.git
對於什麼是值得:
捆紮機版本1.13.6
Git版本2.10.1(蘋果的Git-78)
(注:混帳通過Xcode的with developers tools安裝)
另外,在我進這命令我得到了與其他寶石有關的四個警告。輸入命令後,我仍然會爲這兩個提供警告。我查看了「capybara」和「shoulda-matchers」的README.md文件,沒有發現任何指示解決方案或此問題的原因。
最後,bundle install
報道:
Using shoulda-matchers 3.0.1 from git://github.com/thoughtbot/shoulda-matchers.git (at [email protected])
Using capybara 2.6.0.dev from git://github.com/jnicklas/capybara.git (at [email protected])