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:

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

I tried several ways especially this one several times:

But the get this error here as well:


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 (

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


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: