IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

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

    testcs_dn发表于 2015-12-12 14:27:43
    love 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

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





沪ICP备19023445号-2号
友情链接