码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2015-12-12 15:36:02      阅读:482      评论:0      收藏:0      [点我收藏+]

标签:

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

  1. C:\ruby>gem install sqlite3-ruby  
  2. Fetching: sqlite3-1.3.11-x64-mingw32.gem (100%)  
  3. Successfully installed sqlite3-1.3.11-x64-mingw32  
  4. Fetching: sqlite3-ruby-1.3.3.gem (100%)  
  5.   
  6. #######################################################  
  7.   
  8. Hello! The sqlite3-ruby gem has changed it‘s name to just sqlite3.  Rather than  
  9. installing `sqlite3-ruby`, you should install `sqlite3`.  Please update your  
  10. dependencies accordingly.  
  11.   
  12. Thanks from the Ruby sqlite3 team!  
  13.   
  14. <3 <3 <3 <3  
  15.   
  16. #######################################################  
  17.   
  18. Successfully installed sqlite3-ruby-1.3.3  
  19. Parsing documentation for sqlite3-1.3.11-x64-mingw32  
  20. Installing ri documentation for sqlite3-1.3.11-x64-mingw32  
  21. Parsing documentation for sqlite3-ruby-1.3.3  
  22. Installing ri documentation for sqlite3-ruby-1.3.3  
  23. Done installing documentation for sqlite3, sqlite3-ruby after 1 seconds  
  24. 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)
这可能是由于网络的原因,多试几次就好了。



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

标签:

原文地址:http://blog.csdn.net/testcs_dn/article/details/50274651

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!