`

Erro installing mysql2: ERROR: Failed to build gem native extension.

 
阅读更多
  • 安装Gem时不安装doc
# 修改~/.gemrc,加入
gem: --no-ri --no-rdoc

问题

  • Error installing mysql2: ERROR: Failed to build gem native extension.

没有安装必要的mysql库导致:

apt-get install libmysql-ruby libmysqlclient-dev
分享到:
评论

相关推荐

    freedesktop.org.xml内容错误解决方案文件

    Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: C:/Ruby26/lib/ruby/gems/2.6.0/gems/mimemagic-0.3.10/ext/mimemagic C:/Ruby26/bin/ruby.exe -rrubygems C:/Ruby26/lib...

    安装mysql-connector-odbc前提必须微软组件

    Error installing ODBC driver MySQL ODBC5.3 ANSI Driver,ODBC error 13:无法加载 MySQL ODBC5.3 ANSI Driver ODBC驱动程序的安装例程, 因为存在系统错误代码 126:找不到指定的模块。 解决方案:如果电脑是...

    visualbuildtools_14.0.zip

    running build_ext building 'fasttext_pybind' extension error: Microsoft Visual C++ ...Failed to build fasttext Installing collected packages: fasttext Running setup.py install for fasttext ... error

    MySQL V5.5帮助文档

    2. Installing and Upgrading MySQL 2.1. General Installation Guidance 2.1.1. Operating Systems Supported by MySQL Community Server 2.1.2. Choosing Which MySQL Distribution to Install 2.1.3. How to Get ...

    wangzhebufangqi.github.io:基于博客的 Github Pages 和 jekyll

    Error installing jekyll: ERROR: Failed to build gem native extension. gem install jekyll Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... ERROR: ...

    mac os gem安装json出现error failed的解决办法

    升级到最新的mac os Mavericks。装json出现错误: ... ERROR: Failed to build gem native extension.  /usr/local/var/rbenv/versions/2.0.0-p247/bin/ruby extconf.rb creating Makefile make “DESTDIR=”

    mysql linux安装出错 libaio-dev

    mysql linux下安装时,存在以下错误: Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

    MongoDB 安装出错解决方法

    "MongoDB 安装出错解决方法" MongoDB 是一款非常流行的 NoSQL 数据库管理系统,但是在安装过程中经常会遇到各种错误,特别是在自定义安装路径时。下面我们将详细介绍 MongoDB 安装出错解决方法。...

    mysql安装失败

    The security settings could not be applied to the database because the connection has failed with the following error. Error Nr. 1045 Access denied for user 'root'@'localhost' (using password: YES) ...

    ruby selenium-client-1.2.18.gem

    9. Go to Cmd Prompt –> c:\Ruby192\bin>gem install selenium-client-1.2.18.gem Once you install selenium-client you should get the following conformation message: ' 1 gem installed ' Installing ri ...

    《PHP & MySQL: Novice to Ninja, 6th Edition》- 2017 英文原版

    Comprehensively updated to cover PHP 7 and modern best practice, this highly practical and fun book covers everything from installing PHP and MySQL through to creating a complete online content ...

    global-diversity-cfp-day-site

    Installing pg 0.18.4 with native extensionsGem::Ext::BuildError: ERROR: Failed to build gem native extension.安装要使该站点在本地运行: git clone git@github....

    maven相中的ojdbc6-11.2.0.3

    [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.403 s [INFO] Finished at: 2017-07-18T12:25:31+08:00 [INFO] Final Memory: 8M/...

    Beginning PHP and MySQL: From Novice to Professional, 5th Edition

    Chapter 2: Configuring Your Environment Chapter 3: PHP Basics Chapter 4: Functions Chapter 5: Arrays Chapter 6: Object-Oriented PHP Chapter 7: Advanced OOP Features Chapter 8: Error and Exception ...

    Mysql-Installing.zip_MYSQL_MySQL安装_mysql Tutorial_mysql 教程

    MySQL是世界上最受欢迎的开源数据库...本教程的"Mysql Installing.pdf"文件应该包含了这些步骤的详细指南,对于初学者来说是一份宝贵的资源。通过跟随教程,您将能够顺利安装MySQL,并开始探索这个强大的数据库世界。

    MySQL 5.6 Reference Manual

    Table of Contents Preface, Notes, Licenses . . . . . . . . ....1. Licenses for Third-Party Components ....1.1. FindGTest.cmake License ....1.2. LPeg Library License ....1.3. LuaFileSystem Library License ....

    jboss-5.1.0.GA-src.tar.gz

    2. **JSP 2.1**:用于创建动态网页,提供了简化开发的标签库和脚本元素。 3. **EJB 3.0**:企业级JavaBean,提供了无XML的注解方式,简化了企业级组件的开发。 4. **JPA (Java Persistence API) 1.0**:对象关系映射...

    MySQL 5.6.25 源码包+安装方法 (mysql-5.6.25.tar.gz)

    mysql-5.6.25.tar 包含两个文件: - mysql-5.6.25.tar.gz Generic Linux (Architecture Independent), Compressed TAR Archive MD5: 37664399c91021abe070faa700ecd0ed -install.txt: 安装方法 首先解压mysql-...

Global site tag (gtag.js) - Google Analytics