0
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.

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

4

1 回答 1

0

你安装了 git 吗?

在 Ubuntu 中:

sudo apt-get install git
于 2013-06-26T02:25:15.780 回答