gitlab 安装报错:Could not find modernizr-2.6.2 in any of the sources
2016-07-20 10:16
573 查看
gitlab 安装报错:Could not find modernizr-2.6.2 in any of the sources
2014-04-30 15:27:44
标签:gitlab
原创作品,允许转载,转载时请务必以超链接形式标明文章
原始出处 、作者信息和本声明。否则将追究法律责任。http://davidbj.blog.51cto.com/4159484/1405062
gitlab一款开源的代码版本控制软件,仿github。安装过程中遇到一个问题,纠结了一上午,最终终于搞定了,分享一下:
在安装deployment时:
sudo -u git -H bundle install --deployment --without development test postgres
报错:
Could not find modernizr-2.6.2 in any of the sources
找不到modernizr-2.6.2的库,更改了几个source源之后,问题也没有解决。于是通过wget下载modernizr,再进行安装:
cd /home/git/gitlab
2014-04-30 15:27:44
标签:gitlab
原创作品,允许转载,转载时请务必以超链接形式标明文章
原始出处 、作者信息和本声明。否则将追究法律责任。http://davidbj.blog.51cto.com/4159484/1405062
gitlab一款开源的代码版本控制软件,仿github。安装过程中遇到一个问题,纠结了一上午,最终终于搞定了,分享一下:
在安装deployment时:
sudo -u git -H bundle install --deployment --without development test postgres
报错:
Could not find modernizr-2.6.2 in any of the sources
找不到modernizr-2.6.2的库,更改了几个source源之后,问题也没有解决。于是通过wget下载modernizr,再进行安装:
cd /home/git/gitlab
wget http://rubygems.org/downloads/modernizr-2.6.2.gem[/code] gem install modernizr
然后将Gemfile和Gemfile.lock配置文件的modernizr版本更改成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)
再次执行:
sudo -u git -H bundle install --deployment --without development test postgres
安装成功!
本文出自 “David” 博客,请务必保留此出处http://davidbj.blog.51cto.com/4159484/1405062
相关文章推荐
- Codeforces Round #363 (Div. 2) 题解报告
- linux工作常用命令
- c++11多线程之主线程与子线程数据传输与共享
- Android Volley框架使用(三)
- JavaScript学习笔记二十三:浏览器对象
- Maven项目导入后报错
- Codeforces Round #363 (Div. 2) C. Vacations(简单动态规划)
- es6学习笔记11--Proxy和Reflect
- Cannot launch AVD in emulator
- Android内存泄漏的八种可能
- socket长连接、短连接以及心跳包机制
- Error ITMS-90635 invalid Mach-o format. the mach-o in hundle “*** ***.app/Frameworks/Result.framewo
- matlab一段音频取固定点数目
- android之自定义View和ViewGroup(五)(代码篇,实现类似竖着的ViewPager引导页,竖向引导页)
- jquery的几种异步请求,ajax
- Python包管理工具——Pip方法大全
- http://blog.csdn.net/ameyume/article/details/9958951
- Android ListView的字母排序和过滤搜索功能
- codeforces 699B One Bomb
- linux常用20条命令