[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
[转]Could not find modernizr-2.6.2 in any of the sources 解决办法:
猜你喜欢
转载自gxl-ct001.iteye.com/blog/2104130
今日推荐
周排行