SpreeCommerce Git Error我不知道为什么会出现这个错误

时间:2013-06-26 02:22:30

标签: linux github spree

casionwoo@casionwoo-desktop:~/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`
casionwoo@casionwoo-desktop:~/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.

我不知道如何解决此错误 有谁知道如何解决?为什么会出现这个错误?

1 个答案:

答案 0 :(得分:0)

你安装了git吗?

在Ubuntu中:

sudo apt-get install git