`

[转]Could not find modernizr-2.6.2 in any of the sources 解决办法:

    博客分类:
  • git
阅读更多
[git@Git gitlab]$ vi Gemfile
source "https://rubygems.org"改为source "http://rubygems.org"
[git@Git gitlab]$ bundle install --deployment --without development test postgres
Fetching source index from http://rubygems.org/
Fetching https://github.com/gitlabhq/grit.git
Could not find modernizr-2.6.2 in any of the sources
#出现错误:Could not find modernizr-2.6.2 in any of the sources
#解决办法:
[git@Git gitlab]$ vi Gemfile
第114行   gem "modernizr",        "2.6.2"
更改改为:
第114行   gem "modernizr-rails",  "2.7.1"
[git@Git gitlab]$ vi Gemfile.lock
第252行     modernizr (2.6.2)
更改改为:
第252行     modernizr-rails (2.7.1)
第523行   modernizr (= 2.6.2)
更改改为:
第523行   modernizr-rails (= 2.7.1)
#重新执行:

[git@Git gitlab]$ bundle install --deployment --without development test postgres puma aws

原文网址:http://www.it165.net/os/html/201405/8123.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics