Bundle Install An Error Occurred While Installing Mysql2
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site an error occurred while installing mysql2 and bundler cannot continue About Us Learn more about Stack Overflow the company Business Learn more about an error occurred while installing mysql2 (0.3.16) and bundler cannot continue hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
An Error Occurred While Installing Mysql2 (0.3.13) And Bundler Cannot Continue
the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error bundle install -
An Error Occurred While Installing Mysql2 (0.3.17) And Bundler Cannot Continue
“mysql2” [duplicate] up vote 2 down vote favorite This question already has an answer here: Error installing mysql2: Failed to build gem native extension 22 answers 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 before bundling. And when I try to an error occurred while installing mysql2 (0.3.11) and bundler cannot continue run the command gem install mysql2 -v '0.3.17' I get the error: ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. Complete log I've tried reinstalling and installing the rails. I'm on a MacOs. Anyone? Thanks! ruby-on-rails ruby osx share|improve this question edited Nov 21 '14 at 20:14 asked Nov 21 '14 at 19:05 Ricardo Masao Shigeoka 128211 marked as duplicate by Holger Just, Simone Carlettiruby Users with the ruby badge can single-handedly close ruby questions as duplicates and reopen them as needed. Nov 21 '14 at 22:44 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. provide build log please –Малъ Скрылевъ Nov 21 '14 at 19:37 You will get verified answer here: [stackoverflow.com/questions/3608287/… [1]: stackoverflow.com/questions/3608287/… –Rubyrider Nov 21 '14 at 19:44 I saw these topics , but it still fails. –Ricardo Masao Shigeoka Nov 21 '14 at 20:10 @МалъСкрылевъ justpaste.it/i3cj –Ricardo Masao Shigeoka Nov 21 '14 at 20:14 there are all kinds of issues that people have had installing mysql2. google around, and ch
3 years ago I'm installing Redmine for the first
An Error Occurred While Installing Mysql2 (0.3.18) And Bundler Cannot Continue
time and I don't know Ruby. I've installed an error occurred while installing mysql2 (0.3.14) and bundler cannot continue Ruby 1.9.3 (2.0 is mentioned as having issues on Windows and earlier versions an error occurred while installing mysql2 (0.3.15) and bundler cannot continue as deprecated), downloaded RubyMine 2.3.2, configured MySQL 5.5, configured DB connection, installed Bundler, executed bundle install --without development test, installation of JSON http://stackoverflow.com/questions/27068484/error-bundle-install-mysql2 gem failed, installed DevKit (which is not mentioned as required on RedmineInstall), executed bundle install ... again, this time installation of MySQL2 gem failed, and I don't know how to continue. Console log: Installing mysql2 (0.3.13) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. http://www.redmine.org/boards/2/topics/38765 C:/Apps/Ruby/Ruby193/bin/ruby.exe extconf.rb checking for rb_thread_blocking_region()... yes checking for rb_wait_for_single_fd()... yes checking for rb_hash_dup()... yes checking for rb_intern3()... yes *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=C:/Apps/Ruby/Ruby193/bin/ruby --with-mysql-dir --without-mysql-dir --with-mysql-include --without-mysql-include=${mysql-dir}/include --with-mysql-lib --without-mysql-lib=${mysql-dir}/lib extconf.rb:37:in `
Support Search GitHub This repository Watch 77 Star 1,523 Fork 340 brianmario/mysql2 Code Issues 41 Pull requests 18 Projects 0 Pulse Graphs New https://github.com/brianmario/mysql2/issues/445 issue An error occurred while installing mysql2 (0.3.14), and Bundler cannot continue. #445 Closed Mashpy opened this Issue Nov 17, 2013 · 10 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants Mashpy commented Nov 17, 2013 i want to install this repo in my another pc - https://github.com/Mashpy/esl_jobs after running command bundle install i an error get this error - Gem files will remain installed in /home/mashpy/.rvm/gems/ruby-1.9.3-p429/gems/mysql2-0.3.14 for inspection. Results logged to /home/mashpy/.rvm/gems/ruby-1.9.3-p429/gems/mysql2-0.3.14/ext/mysql2/gem_make.out An error occurred while installing mysql2 (0.3.14), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.3.14'` succeeds before bundling. this is my gem file - source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.0' gem 'mysql2' an error occurred # Use SCSS for stylesheets gem 'sass-rails', '~> 4.0.0' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' # Use CoffeeScript for .js.coffee assets and views gem 'coffee-rails', '~> 4.0.0' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby # Use jquery as the JavaScript library gem 'jquery-rails' # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 1.2' gem 'friendly_id', '~> 5.0.1' group :doc do # bundle exec rake doc:rails generates the API under doc/api. gem 'sdoc', require: false end group :production do gem 'pg' end can u help me how can i successfully install bundle and run rails server successfully? simi commented Nov 17, 2013 @Mashpy how is this related to mysql2 gem? You're facing a system package manager problem. Collaborator sodabrew commented Nov 17, 2013 Don't install mysql-client, just libmysqlclient-dev. Also, in any bug report about mysql2, post the output of mysql2 installation, not apt-get; installing system packages and resolving their dependencies is not a mysql2 is