简体   繁体   English

Rake Aborted错误-无法安装捆绑软件-安装GitLab时

[英]Rake Aborted Error - Can't install bundler - When install GitLab

I am trying to install gitLab server in my Virtual Machines, When I Execute the command: sudo -u git -H bundle install --deployment --without development test mysql aws , I got this: 我试图在我的虚拟机中安装gitLab服务器,当我执行以下命令时: sudo -u git -H bundle install --deployment --without development test mysql aws ,我得到了:

Some gems seem to be missing from your vendor/cache directory. 您的供应商/缓存目录中似乎缺少一些宝石。 Could not find rake-10.3.2 in any of the sources 在任何来源中都找不到rake-10.3.2

And my gem source is: 我的宝石来源是:

root@ubuntu:/home/git/gitlab# gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org/
https://rubygems.org/

When I run gem install rake-10.3.2 , I got this: 当我运行gem install rake-10.3.2 ,我得到了:

ERROR: Could not find a valid gem 'rake-10.3.2' (>= 0) in any repository 错误:在任何存储库中找不到有效的gem'rake-10.3.2'(> = 0)

How do I resolve this problem? 我该如何解决这个问题?

尝试使用此命令安装rake

gem install rake -v 10.3.2

Do one thing. 做一件事。 Delete your Gemfile.lock 删除您的Gemfile.lock

and run the command: 并运行命令:

 bundle install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM