2013-06-26 32 views
0
[email protected]:~/mystore$ sudo spree install --auto-accept 
gemfile spree 
gemfile spree_gateway 
gemfile spree_auth_devise 
    run bundle install from "." 
sh: 1: git: not found 
https://github.com/spree/spree_gateway.git (at 2-0-stable) is not 
checked out. Please run `bundle install` 
[email protected]:~/mystore$ bundle install 
Fetching https://github.com/spree/spree_gateway.git 
sh: 1: git: not found 
Git error: command `git clone 'https://github.com/spree/spree_gateway.git' 
"/home/casionwoo/.bundler/cache/git/spree_gateway- 
d999041097460b78cc4cd130c71269cf9c83fdb0" --bare 
--no-hardlinks` in directory /home/casionwoo/mystore has failed. 

我不知道我該如何解決這個錯誤 有沒有人知道如何解決?以及爲什麼發生此錯誤?SpreeCommerce Git Error我不知道爲什麼會出現這個錯誤

回答

0

你已經安裝了git嗎?

在Ubuntu中:

sudo apt-get install git 
+0

還是同樣的錯誤... –

+0

如果您已經安裝了混帳話,說不定Git是不是在PATH,請嘗試以下操作:'CD的/ usr/bin中&& sudo的LN -s''哪個git'' git'雙向反引號應該是單一的(格式問題) – Aguardientico

相關問題