首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Rails“脚本/插件”安装http://github.com...git挂在'git拉‘上

Rails“脚本/插件”安装http://github.com...git挂在'git拉‘上
EN

Stack Overflow用户
提问于 2010-06-30 16:48:34
回答 1查看 2K关注 0票数 2

每当我从github运行rails脚本/插件安装来安装使用git的插件时,它就会“挂起”。

代码语言:javascript
复制
$ script/plugin -v install http://github.com/ryanstout/blog_kit.git

它“挂”了。-v提供了以下输出:

代码语言:javascript
复制
Plugins will be installed using http
git init
Initialized empty Git repository in /home/XXX/vendor/plugins/blog_kit/.git/
git pull --depth 1 http://github.com/ryanstout/blog_kit.git

它就挂在那里。(“XXX”是我在这篇文章中编辑的)

当我用^C断开命令,运行git拉深1.手动时,它也会挂起。

  1. 我可以很好地克隆这个存储库:网络似乎不是问题。
  2. git在我的路径中。
  3. 在运行rails -g foo时,我收到很多关于目录不在git下的错误。可能是相关的。
  4. 'lsof -i \ grep github‘展示了以下内容:

git-remot 11710 ber 8u IPv4 182786 0ttttcyasmine.fritz.box:42324->github.com:www (CLOSE_WAIT) git -远程11710 ber 9u IPv4 182798 0t0 TCP yasmine.fritz.box:42325->github.com:www (CLOSE_WAIT) git 11712 ber 8u IPv4 182786 0t0 tt0 tcyasmine.fritz.box:42324->github.com:www (CLOSE_WAIT)

因此,看起来确实有一个连接,但是没有任何东西被拉进来。

有什么办法让我更深入地研究这个问题吗?我错过什么自传了吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2010-06-30 18:53:09

多亏了ewall,我找到了答案。

而不是:

脚本/插件http://github.com/ryanstout/blog_kit.git安装-v

使用

脚本/插件git://github.com/ryanstout/blog_kit.git安装-v

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/3151471

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档