There are clues why the gem installation failed. In particular, you lack the collection needed to successfully craft a gem. This solution indicates that it is available in the repositories. So you will be able to deploy it with: After that you will be able to use all the gems.
If you continue to receive an error, search for suggested packages. For example, if your site is trying to install gem install pg, you must install the libpq-dev library at the same time ( apt-get sudo install libpq-dev ).
Installing the multiple mysql.Activated 7 gem works well because: Well, it’s weird because mysql_config should pretty much have –include investments, according to hubby’s site:
What was the error failed to build gem native extension?
ERROR: Failed to add native gem extension. You must first have and install the development tools. Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved.
Why is mysql2 failed to build gem native extension?
ERROR: Failed to create native gem extension. For some reason, the makefile could not be built, possibly missing required libraries and/or header files. See the mkmf.log file for more information. You need several types of configuration. –source=. Gem files are installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql2-0. 3.11 for inspection.
Is there a failed to build gem native extension?
Connect to your story. File header missing, #9602 Error creating native gem extension. Title archive missing, #9602 Just sign in to join the GitHub discussion.
Why is MySQL error failed to build gem native?
Sources: MySQL Gem ERROR: replace Unable to create Native Extensible Gem MySQL Forums::Ruby::Help installing Ruby related MySQL binding If you’re still having problems…default-libmysqlclient-dev
Ermias is a tech writer with a passion for helping people solve Windows problems. He loves to write and share his knowledge with others in the hope that they can benefit from it. He’s been writing about technology and software since he was in college, and has been an avid Microsoft fan ever since he first used Windows 95.