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 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. Hello! The sqlite3-ruby gem has changed it‘s name to just sqlite3.  Rather than
  7. installing `sqlite3-ruby`, you should install `sqlite3`.  Please update your
  8. dependencies accordingly.
  9. Thanks from the Ruby sqlite3 team!
  10. <3 <3 <3 <3
  11. #######################################################
  12. Successfully installed sqlite3-ruby-1.3.3
  13. Parsing documentation for sqlite3-1.3.11-x64-mingw32
  14. Installing ri documentation for sqlite3-1.3.11-x64-mingw32
  15. Parsing documentation for sqlite3-ruby-1.3.3
  16. Installing ri documentation for sqlite3-ruby-1.3.3
  17. Done installing documentation for sqlite3, sqlite3-ruby after 1 seconds
  18. 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

时间: 2024-06-20 04:02:29

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

Csimsoft.Trelis.Pro.v16.0.X64+Design-Expert.v10.0.2.0

Csimsoft.Trelis.Pro.v16.0.X64    Trelis不仅仅是擦亮了Cubit与一个新的名字. 包括新特性请求和Trelis可用性建议从商业Cubit全世界用户.是csimsoftTrelis的高端商业预处理程序和CFD对有限元分析的基础上,Cubita?¢实用软件桑迪亚国家实验室. 二十多年来,开发了Cubitcsimsoft会同桑迪亚,桑迪亚的授权分销商学术和商业用途csimsoft和桑迪亚一直在研究的方法来提高啮合过程超过20年使用Cubit为研究平台,测试新代码.

ERROR: Could not find a valid gem &#39;cocoapods&#39; (&gt;= 0) in any repository

一. sudo gem install cocoapods  之后有一个错误: ERROR:  Could not find a valid gem 'cocoapods' (>= 0) in any repository 排除错误 : 1.安装command line tools (xcode6不能直接下载用一下方法) 打开终端,输入命令:xcode-select --install 点击安装即可 2. 权限的问题,没有在root下面 . sudo -i  或者 sudo su 进入到root

Could not find a valid gem ‘cocoapods‘ (&gt;= 0)

ERROR:  Could not find a valid gem 'cocoapods' (>= 0), here is why:           Unable to download data from https://rubygems.org/ - Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/latest_specs.4.8.gz) 两眼一瞪!不能下载???这是什么鬼?

Could not find a valid gem &#39;compass&#39; (&gt;= 0) in any repository compass安装失败解决方案

安装完成ruby gem 之后,通过 gem install compass 安装compass~~ 出现如下报错 Could not find a valid gem 'compass' (>= 0) in any repository 然后尝试在 https://rubygems.org/ 下载 compass-1.0.3.gem 本地安装 又提示了 rb-inotify 安装失败~~ 一个个安装失败,这个时候 可以怀疑一下 是不是网络问题,无法连接 rubygems 库~ 是不是被墙了呢?

rails 部署 can&#39;t find gem bundler (&gt;= 0.a) with executable bundle

多方寻找终得果,先感谢原作者,原作者博文 原因是本地项目bundler 和 服务器 bundler 版本不一致导致,项目是在本地建立,故Gemfile.lock最后一行BUNDLED WITH中是1.17.2(本地版本) 经查询,本地 1.17.2 服务器 2.0.1 解决办法: 把项目Gemfile.lock 中的 BUNDLED WITH  1.17.2 改为 2.0.1 rails 部署 can't find gem bundler (>= 0.a) with executable bun

Could not find a valid gem ‘redis‘ (>= 0)

Could not find a valid gem 'redis' (= 0) 报错详情如下: ERROR: Could not find a valid gem 'redis' (>= 0), here is why:Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rub

HBASE 0.98版本安装,一步曲:编译HADOOP 2.2.0 x64版本

1.安装JDK 下载JDK 7u55版本,安装JDK和JRE都需要,JDK里面有tools.jar,这个jar包是一定需要的安装在/java上 2.下载Hadoop 2.2.0源代码 wget http://apache.dataguru.cn/hadoop/common/stable/hadoop-2.2.0-src.tar.gz解压缩tar zxvf hadoop-2.2.0-src.tar.gz -C /tmp 3.安装依赖包 yum -y install lzo-devel zlib-d

Grasp 10.3.0 x64

[email protected],更多内容请关注http://user.qzone.qq.com/2692407267

Gem::LoadError: Specified &#39;sqlite3&#39; for database adapter, but the gem is not loaded

解决办法: 指定sqlite3的版本为1.3.13: gem 'sqlite3', '~> 1.3.13' 然后运行bundle update Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is not loaded 原文地址:https://www.cnblogs.com/wtyqer/p/10792159.html