扫码关注官方订阅号
这个该怎么解决呢? 求大神解救? 今天刚装的系统所以不太懂。。
lz提供的图片没什么帮助,只是表明成功安装了rails。恭喜。
当用rails new project_name生成了项目后,会遇到bundle问题。
请更换gem source来处理这个问题。目前比较稳定的国内源是http://gems.ruby-china.org/
http://gems.ruby-china.org/
好运!
几经波折错误变成了。。
Could not find gem 'rails (= 4.2.6)' in any of the gem sources listed in your Gemfile or available on this machine.Run bundle install to install missing gems.
bundle install
然后运行 bundle install 总是到一半就停止了。
在你的gemfile添加 gem 'rails', '4.2.6'版本自己控制
gem 'rails', '4.2.6'
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
lz提供的图片没什么帮助,只是表明成功安装了rails。恭喜。
当用rails new project_name生成了项目后,会遇到bundle问题。
请更换gem source来处理这个问题。
目前比较稳定的国内源是
http://gems.ruby-china.org/
好运!
几经波折错误变成了。。
Could not find gem 'rails (= 4.2.6)' in any of the gem sources listed in your Gemfile or available on this machine.
Run
bundle install
to install missing gems.然后运行 bundle install 总是到一半就停止了。
在你的gemfile添加
gem 'rails', '4.2.6'
版本自己控制