Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.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
尝试从Github安装活动管理员时发生Git错误_Github_Ruby On Rails 4_Activeadmin - Fatal编程技术网

尝试从Github安装活动管理员时发生Git错误

尝试从Github安装活动管理员时发生Git错误,github,ruby-on-rails-4,activeadmin,Github,Ruby On Rails 4,Activeadmin,在我安装了带有设置的活动管理员get之前,一切都正常 这是我运行bundle安装时发生的情况: Fetching git://github.com/gregbell/active_admin.git fatal: unable to connect to github.com: github.com[0: 192.30.252.129]: errno=Operation timed out Git error: command `git clone 'git://github.com/greg

在我安装了带有设置的活动管理员get之前,一切都正常

这是我运行bundle安装时发生的情况:

Fetching git://github.com/gregbell/active_admin.git
fatal: unable to connect to github.com:
github.com[0: 192.30.252.129]: errno=Operation timed out

Git error: command `git clone 'git://github.com/gregbell/active_admin.git'
"/Users/Kenneth/.rvm/gems/ruby-2.0.0-p353/cache/bundler/git/active_admin-d67faab65e9b74efbc8efb4a777a851e9f78b2ca"
--bare --no-hardlinks` in directory /Users/Kenneth/Desktop/U2K has failed    
我的文件如下所示:

source 'https://rubygems.org'

ruby '2.0.0'

gem 'rails', '4.0.1' 
gem 'sass-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'bootstrap-sass', '~> 3.0.3.0'
gem 'devise', '~> 3.1.1'
gem 'activeadmin', github: 'gregbell/active_admin'
gem 'jbuilder', '~> 1.2'


group :development, :test do
gem 'sqlite3'
end

group :production do
 gem 'pg'
 gem 'rails_12factor'
end

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end

谢谢

请首先尝试在终端中排除bundler的任何问题,但您的问题似乎与github连接断断续续

$ git clone 'git://github.com/gregbell/active_admin.git
其次,尝试一种特定的提交方式

gem 'activeadmin',  github: 'gregbell/active_admin' , :ref => '2c1a16368fd5fb8122329eb61c848bbd0e516870'

您在
git clone'上获得超时git://github.com/gregbell/active_admin.git
——您是否被阻止从SSH出站到
github.com
?@joe我现在不知道是否被阻止从SSH出站到github.com。我怎么检查?你能到
https://github.com/gregbell/active_admin
?@joe是的,我可以访问[链接]()