Problem in installing modernizr-2.6.2 during bundle install

Hello Everyone,

I am writing this as my last resort after browsing many threads on different websites.

I am setting up gitlab on my private server to have my own local repository. I am following these steps:
https://www.digitalocean.com/community/tutorials/how-to-set-up-gitlab-as-your-very-own-private-github-clone

on this step:
sudo -u git -H bundle install --deployment --without development test postgres aws
But I am getting error:
Fetching dependency metadata from https://rubygems.org/
Could not find modernizr-2.6.2 in any of the sources

I tried several ways especially this one several times:
http://stackoverflow.com/questions/22825497/installing-gitlab-missing-modernizer

But the get this error here as well:

wget http://rubygems.org/downloads/modernizr-2.6.2.gem

HTTP request sent, awaiting response… 404 Not Found
2016-01-27 12:24:25 ERROR 404: Not Found.

Due to this I am stuck and not able to proceed with the setup. Below are the install gems:

gem list
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.11.2)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
test-unit (2.0.0.0)

Can somebody please help me out with this. Thanks a lot in advance.

Thanks,
Deepesh

Please somebody look into it. it is urgent for me !!

In Gemfile and Gemfile.lock replace modernizr 2.6.2 with modernizr-rails 2.7.1 and bundle install.

Very fast answer, 3 months later :blush: