在HTTPS推送中找不到任何源(Bundler :: GemNotFound)中的rake-10.3.2

时间:2014-11-02 05:45:43

标签: ruby git rake gitlab

错误提示:

Mac:symfony apple$ git push -u origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 209 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `map!'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `materialize'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/definition.rb:132:in `specs'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in `specs_for'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/definition.rb:166:in `requested_specs'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in `requested_specs'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:in `setup'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler.rb:121:in `setup'
remote:         from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/bundler-1.7.4/lib/bundler/setup.rb:17:in `<top (required)>'
remote:         from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
remote:         from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

服务器系统环境:

[root@proxyA gitlab]# bundle env|grep rake
rake (>= 0.8.7)
rake
rake (>= 0.8.7)
rake (10.3.2)

[root@proxyA gitlab]# bundle exec rake -V

rake, version 10.3.2

[root@proxyA gitlab]# rake -V
rake, version 10.3.2

ruby​​ -v ruby 2.0.0p353(2013-11-22修订版43784)[x86_64-linux]

测试服务器和客户端在同一台服务器上

安装gitlab后我提交数据时会出现此错误,请帮帮我

1 个答案:

答案 0 :(得分:2)

可能重复:https://github.com/gitlabhq/gitlabhq/issues/8045,修正建议位于:https://github.com/gitlabhq/gitlabhq/pull/8131去ping修复程序以提高合并的可能性。

我建议您首先查看https://github.com/gitlabhq/gitlabhq/issues以查找错误,并在可能的情况下添加触发问题的内容(HTTPS推送);)