Could not find gem 'sqlite3 (>= 0) x64-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.
安装过程中可能会出现以下问题:
Run `bundle install` to install missing gems.
在 windows下搭建Ruby Rails Web开发环境 时遇到这个问题,
出现此问题的原因是:没有安装sqlite3
安装sqlite3
执行命令:gem install sqlite3-ruby
- C:\ruby>gem install sqlite3-ruby
- Fetching: sqlite3-1.3.11-x64-mingw32.gem (100%)
- Successfully installed sqlite3-1.3.11-x64-mingw32
- Fetching: sqlite3-ruby-1.3.3.gem (100%)
- #######################################################
- Hello! The sqlite3-ruby gem has changed it's name to just sqlite3. Rather than
- installing `sqlite3-ruby`, you should install `sqlite3`. Please update your
- dependencies accordingly.
- Thanks from the Ruby sqlite3 team!
- <3 <3 <3 <3
- #######################################################
- Successfully installed sqlite3-ruby-1.3.3
- Parsing documentation for sqlite3-1.3.11-x64-mingw32
- Installing ri documentation for sqlite3-1.3.11-x64-mingw32
- Parsing documentation for sqlite3-ruby-1.3.3
- Installing ri documentation for sqlite3-ruby-1.3.3
- Done installing documentation for sqlite3, sqlite3-ruby after 1 seconds
- 2 gems installed
Could not find gem 'sqlite3 (>= 0) x64-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.
Run `bundle install` to install missing gems.
" port 443 (https://api.rubygems.org/quick/Marshal.4.8/sqlite3-ruby-1.3.3.gemspec.rz)
这可能是由于网络的原因,多试几次就好了。