The top voted answer says you should even use sudo, which you should never do, especially if you don’t quite understand what it does. Fixed “Unable to elevate native gem” error due to Apple command line tools not always being installed.
Any clues as to why the knickknack door installation failed? Specifically, you’re missing a library that should be required to successfully build the gem. This solution assumes that it may be available in the repositories. So you can install it, thanks: once that’s done, you can install the gem.
What was the error failed to build gem native extension?
ERROR: Failed to build native Pellet extension. First you need to set up 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 build the Big Wheel Tricycle extension initially. The Makefile could not be built for some reason, possibly missing required libraries and/or headers. See the mkmf.log file for more explanation. You need a lot of configuration options. –source=. The gems remain 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?
Sign in to your Ultimate account. Error creating custom gem file extension. Header file missing, #9602 Failed to create native gem extension. Header file missing, #9602 To join this discussion for free, sign up on GitHub.
Why is MySQL error failed to build gem native?
Sources: MySQL Gem Install ERROR: Error creating native Gem extension MySQL::Ruby::Need help installing MySQL Binding for Ruby If you’re still having problems… In Debian Stretch, the package that actually worked for me was 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.