我的配置版本
创建项目rails new demo名称
需要到目录下的Gemfile修改source 'http://gems.ruby-china.com'
运行bundle install
,会遇到找不到该版本sqlite3的问题
Could not find gem ‘sqlite3 (= 1.3.0) x64-mingw32’ in any of the gem sources
listed in your Gemfile.
解决方法:
在Gemfile文件下添加sqlite3指定版本:
gem 'sqlite3','~> 1.3.0'
可参考网址:
https://stackoverflow.com/questions/17350837/ruby-on-rails-add-gem-sqlite3-to-your-gemfile