Gitlab installation Error: Could not find modernizr-2.6.2 in any of the sources

Source: Internet
Author: User

2014-04-30 15:27:44Tags: gitlab original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated. http://davidbj.blog.51cto.com/4159484/1405062

Gitlab is an open source code version control software that imitates GitHub. Installation process encountered a problem, tangled up a morning, and finally finished, share:

When installing the deployment:

Sudo-u git-h Bundle Install--deployment--without Development test Postgres

Error:

Could not find modernizr-2.6.2 in any of the sources

The modernizr-2.6.2 library was not found and the problem was not resolved after several source sources were changed. The MODERNIZR is then downloaded via wget and then installed:

Cd/home/git/gitlab

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

Gem Install Modernizr

Then change the Modernizr version of the gemfile and Gemfile.lock configuration files to 2.7.1:

Vim Gemfile

Gem "Modernizr" "2.6.2" ===> gem "Modernizr-rails", "2.7.1"

Vim Gemfile.lock

Modernizr (2.6.2) ===> modernizr-rails (2.7.1)

Modernizr (2.6.2) ===> modernizr-rails (= 2.7.1)

Execute again:

Sudo-u git-h Bundle Install--deployment--without Development test Postgres

Installation is successful!

Gitlab installation Error: Could not find modernizr-2.6.2 in any of the sources

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.