Linked Questions
42 questions linked to/from Error installing mysql2: Failed to build gem native extension
13 votes
3 answers
19k views
How to install mysql2 on Ubuntu 16.04 [ ERROR: Error installing mysql2: ERROR: Failed to build gem native extension.] [duplicate]
I don't know install mysql2 on ubuntu :( sudo gem install mysql2 Building native extensions. This could take a while... ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. ...
1 vote
1 answer
12k views
An error occurred while installing mysql2 (0.3.16), and Bundler cannot continue [duplicate]
I have a problem when I run bundle install . I am a nowbie . I need use mysql as database for my application I haven't idea how resolve this problem Can someone give me some advice? I am using ruby ...
2 votes
1 answer
6k views
Error bundle install - "mysql2" [duplicate]
When I run " bundle install " I get the following error: An error occurred while installing mysql2 (0.3.17), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.3.17'` succeeds ...
1 vote
1 answer
2k views
gem mysql2 not installed on ruby on rails [duplicate]
I have installed following versions: ruby 1.9.3p484 (2013-11-22) [i386-mingw32] rails 4.0.2 DevKit-tdm-32-4.5.2-20111229-1559-sfx rubygems-2.1.11 MySQL Server 5.6 mysql-connector-c-noinstall-6.0.2-...
0 votes
1 answer
284 views
A problem occurred when I update my gem! [duplicate]
Possible Duplicate: Installing mysql2 gem for Rails 3 I am a beginner with rails3,I had a problem when tried 'gem update' command. Updating mysql2 ERROR: the "mysql2" native gem requires ...
78 votes
11 answers
63k views
RuntimeError with mysql2 and rails3 (bundler)
I get this error `establish_connection': Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record/connection_adapters/mysql2_adapter) (...
65 votes
9 answers
63k views
mysql2 gem compiled for wrong mysql client library
When try to connect to the mysql server through my rails application, I get the following error D:/Program_Files/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': ...
62 votes
9 answers
44k views
Errors Installing mysql2 gem via the Bundler
I am trying to install the mysql2 gem via the Bundler, but it keeps dying with the following error: ** executing command /home/cc_rails/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:...
50 votes
5 answers
32k views
ERROR: Failed to build gem native extension - Error installing mysql2
error while running bundle install Installing mysql2 (0.3.11) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ... Make sure that `gem install ...
27 votes
9 answers
19k views
gem install mysql2 fails
I got this error: sudo gem install mysql2 Building native extensions. This could take a while... ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 ...
22 votes
8 answers
23k views
MySQL2 with native extensions ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
I am trying to install the gem mysql2 for Ruby Enterprise Edition. I am getting error that says: Installing mysql2 (0.2.7) with native extensions /Users/rookieRails/.rvm/rubies/ree-1.8.7-2011.03/...
20 votes
6 answers
24k views
Rails error installing mysql2 (mysql2-0.3.20)
I am trying to get a rails project up and running on my local machine. When I do bundle install Fetching mysql2 0.3.20 Installing mysql2 0.3.20 with native extensions Gem::Ext::BuildError: ERROR: ...
13 votes
9 answers
29k views
Ruby gem mysql2 install error
I have the Ruby version ruby 1.9.2p0 (2010-08-18) [i386-mingw32] installed in Windows7. and the gem vesion 1.3.7 When i tried to install mysql gem, it is showing Failed to build gem native extension ...
15 votes
5 answers
13k views
mysql.h is missing .... (Ruby on Rails, OSX)
I tried several ideas ... none of them worked ... I'm just trying to install mysql2 as a gem. My mysql is working, but every time my system says, that mysql.h is missing ... Has someone an idea? It's ...
10 votes
5 answers
12k views
Can't install do_mysql gem?
I'm trying to install the do_mysql on my Snow Leopord system Macbook Pro 13", but I keep getting this error: n216-160:~ myself$ sudo gem1.9 install do_mysql Password: Building native extensions. ...