2012-06-27 96 views
-1

Git錯誤:命令git clone 'https://github.com/JangoSteve/remotipart.git' "/home/ubuntu/.bundler/cache/git/remotipart-46f8bf276d5ffef4f196efc85f86445ee22983a2" --bare --no-hardlinks在/ home/ubuntu/Desktop/1_files/imageeditorservicespro目錄中失敗。任何人都可以幫助我解決這個問題

+0

源的「https:// ruby​​ge ms.org'gem'rails','3.2.3' –

回答

0

,如果你想克隆它

git clone git://github.com/JangoSteve/remotipart.git 
+0

我確實使用它創建了克隆,但是當我捆綁安裝與致命相同的錯誤時:無法找到'https'的遠程幫助器 –

+0

發佈您的Gemfile – skyw00lker

+0

gem'haml' gem'rmagick' gem'paperclip' gem'aws-sdk','〜> 1.3.4' gem'remotipart',::git =>「https://github.com/JangoSteve/remotipart.git」 寶石 'activeadmin' 寶石 「meta_search」 由activeadmin 組所需, '> = 1.1.0.pre' #​​:發展做 寶石 'sqlite3的' 寶石 '後衛' 寶石 '護rspec的' 寶石「叉勺' 寶石'launchy' 結束 –

1

使用Git顯然不具有所需要的HTTP/HTTPS克隆捲曲綁定嘗試。 你可以改變你的Gemfile使用git://github.com/JangoSteve/remotipart.git明確,而不是僅僅github.com/JangoSteve/remotipart.git(git的://部分是很重要的)

另外,如果你想有一個Git版本,可以處理HTTP,嘗試重新安裝的git通過資質捲曲或從源:

通過apt:

sudo apt-get remove git-core 
apt-get install curl libcurl4-openssl-dev # or whatever your curl dev package is 
sudo apt-get install git-core 

從來源:

​​
+0

感謝paukul.after此git克隆git://github.com/JangoSteve/remotipart.git 然後我的代碼在工作 –

+0

不客氣。如果我的答案幫助你,請接受它作爲正確的答案 – paukul

+1

但我不明白,當我寫gem'remotipart',:git =>「github.com/JangoSteve/remotipart.git」它不工作,但當我wright gem'remotipart',:git =>「github.com/JangoSteve/remotipart.git",branch=>'master'那麼它開始工作,你能解釋爲什麼嗎? –

相關問題