提高rails new时bundle install运行速度
2013-06-19 14:51
309 查看
发表评论 | Trackback
最近在新建rails项目时,rails new老是卡在bundle install那里,少则五分钟,多则几十分。
这是因为rails new时自动会运行bundle install,而bundle install会自动去rubygems.org查找是否有更新。
但需要的gems我早安装好了,且不用更新,所以上面步骤就可省了。强烈建议rails党委取消rails new时自动查找gems更新功能!
解法很简单
rails new my_app --skip-bundle cd my_app bundle install --local
另外,最新版bundler速度提高不少,建议使用,也能提速
gem install bundler --pre
相关文章推荐
- 提高Rails new时bundle install运行速度
- 提高rails new时bundle install运行速度
- 【RoR win32】提高rails new时bundle install运行速度
- 提高Rails new时 bundle install速度
- Ruby on Rails(ROR)——提高rails new时bundle install运行速度
- 提高rails new时bundle install的速度方法
- 如何提高FPGA的运行速度
- 提高JSP应用程序运行速度的七大绝招
- 用getstring提高ASP的运行速度
- 提高XP系统运行速度
- 最大限度的提高Domino下的运行速度(网上总结)
- 提高PLC程序运行速度的编程方法
- 优化VMware提高虚拟机运行速度的技巧
- 提高eclipse运行速度
- 如何提高XP运行速度
- 提高eclipse运行速度
- ANT 压缩(去掉空格/注释)JS文件可提高js运行速度
- 优化--让你的SQL运行速度明显提高
- 提高windows7系统运行速度的方法
- Win10系统如何清理注册表垃圾以提高系统运行速度