2016-03-04 140 views
0

我試圖將剛剛開始使用的ruby on rails網站從本地移動到公共,我使用Heroku。Heroku(Ruby on Rails)無法訪問

所有步驟都很好,除了最後一個這是:

  • git push heroku master - 把我的應用程序的Heroku,但不是生成的文件,並讓我的鏈接它最終是這樣的:

致命的:無法訪問 'https://git.heroku.com/glacial-gorge-31258.git/':錯誤設置證書驗證地點: 憑證檔案錯誤:C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt CApath:無

我確定我在某處犯了錯誤,因爲我在安裝時丟了一半,我可以看到它與我的計算機中的位置有關,但我不知道如何解決該問題。

謝謝

回答

1

我有一次同樣的錯誤的git

我已經通過以下方式固定它。

git config --system http.sslcainfo "C:\Program Files\git\bin\curl-ca-bundle.crt" 

或忽略檢查

git config --system http.sslverify false 

可能是它可能會幫助你

+0

@ rajarshi達斯謝謝你,第二個幫助。謝謝隊友:) – Seinfeld

+0

歡迎您的兄弟..... –