狂欢商务Git错误我不知道为什么这个错误


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.

我不知道如何解决此错误有没有人知道如何解决?为什么会发生此错误?

你已经安装了 git 吗?

在 Ubuntu 中:

sudo apt-get install git

最新更新