Rake Aborted Error - Can't install bundler - When install GitLab

390 Views Asked by At

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:

Some gems seem to be missing from your vendor/cache directory. Could not find rake-10.3.2 in any of the sources

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:

ERROR: Could not find a valid gem 'rake-10.3.2' (>= 0) in any repository

How do I resolve this problem?

2

There are 2 best solutions below

3
On BEST ANSWER

Try installing rake with this command

gem install rake -v 10.3.2
1
On

Do one thing. Delete your Gemfile.lock

and run the command:

 bundle install