Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/56.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Ruby包安装错误_Ruby On Rails_Ruby_Git_Forem - Fatal编程技术网

Ruby on rails Ruby包安装错误

Ruby on rails Ruby包安装错误,ruby-on-rails,ruby,git,forem,Ruby On Rails,Ruby,Git,Forem,我正在尝试在我的服务器上安装forem,当我运行bundle install时出现此错误: Fetching git://github.com/radar/forem.git fatal: unable to connect to github.com: github.com[0: 207.97.227.239]: errno=Connection refused Git error: command `git clone 'git://github.com/radar/forem.git'

我正在尝试在我的服务器上安装forem,当我运行
bundle install
时出现此错误:

Fetching git://github.com/radar/forem.git
fatal: unable to connect to github.com:
github.com[0: 207.97.227.239]: errno=Connection refused

Git error: command `git clone 'git://github.com/radar/forem.git' "/home/box1/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e" --bare --no-hardlinks` in directory /home/box1/rails_apps/forem has failed.

尝试使用HTTP而不是SSH进行克隆:

git clone https://github.com/radar/forem.git