Could not find gem 'sqlite3 (>= 0) x64-mingw32' in any of the gem sources listed in your Gemfile

前端之家收集整理的这篇文章主要介绍了Could not find gem 'sqlite3 (>= 0) x64-mingw32' in any of the gem sources listed in your Gemfile前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
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

[plain] view plain copy
  1. C:\ruby>geminstallsqlite3-ruby
  2. Fetching:sqlite3-1.3.11-x64-mingw32.gem(100%)
  3. Successfullyinstalledsqlite3-1.3.11-x64-mingw32
  4. Fetching:sqlite3-ruby-1.3.3.gem(100%)
  5. #######################################################
  6. Hello!Thesqlite3-rubygemhaschangedit'snametojustsqlite3.Ratherthan
  7. installing`sqlite3-ruby`,youshouldinstall`sqlite3`.Pleaseupdateyour
  8. dependenciesaccordingly.
  9. ThanksfromtheRubysqlite3team!
  10. <3<3<3<3
  11. Successfullyinstalledsqlite3-ruby-1.3.3
  12. Parsingdocumentationforsqlite3-1.3.11-x64-mingw32
  13. Installingridocumentationforsqlite3-1.3.11-x64-mingw32
  14. Parsingdocumentationforsqlite3-ruby-1.3.3
  15. Installingridocumentationforsqlite3-ruby-1.3.3
  16. Doneinstallingdocumentationforsqlite3,sqlite3-rubyafter1seconds
  17. 2gemsinstalled
安装过程中可能会出现以下问题:

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)
这可能是由于网络的原因,多试几次就好了。

猜你在找的Sqlite相关文章