Comments on How to solve Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Parent
How to solve Gem::Ext::BuildError: ERROR: Failed to build gem native extension. Question
+3
−0
I'm trying to install the Q&A platform using :
CREATE USER root@bimberspot IDENTIFIED BY '.....';
GRANT ALL ON qpixel_dev.* TO root@bimberspot;
GRANT ALL ON qpixel_test.* TO root@bimberspot;
GRANT ALL ON qpixel.* TO root@bimberspot;
then I run : bundle install
output :
domain name bimberspot.com, using vps ubuntu.
Post
+2
−0
As the error message says, you can re-run the installation for that single gem to get more detail about the error:
gem install mysql2
Read the log and any error messages carefully, as they will contain information about what's wrong.
As I mentioned in a comment, you will need various dependencies installed:
sudo apt install mysql-server mysql-client libmysqlclient-dev
1 comment thread