0
  • I am on OS X Yosemite (10.10.3)
  • I have installed mysql via Homebrew

I get the following error when I run bundle on my project

enter image description here

Abhi
  • 165
  • 1
  • 9
  • Did you try running `gem install mysql2 -v '0.3.16'` like the error message suggests? – Joe Kennedy May 05 '15 at 16:28
  • I did, it outputs the same result – Abhi May 05 '15 at 16:32
  • What's the full error that `gem install mysql2 -v '0.3.16'` outputs? Can you add it to the question? – Joe Kennedy May 05 '15 at 16:36
  • Please copy and paste the error message instead of including an image. This is a common problem reported on stack overflow, and quite a few have working answers. See http://stackoverflow.com/questions/17758945/cant-install-mysql2-on-mac-os-10-9 & http://stackoverflow.com/questions/5409761/installing-mysql2-gem-for-ruby-on-rails-with-mac-osx-10-6 for instance. – Prakash Murthy May 05 '15 at 17:18
  • @PrakashMurthy I understand it's a common problem. And all those links provide the same answer which I have already tried. – Abhi May 05 '15 at 17:51
  • @JoeKennedy, sorry I fixed the problem before I could get to error again. – Abhi May 05 '15 at 17:54

1 Answers1

0

My recent upgrade to yosemite might be causing the problem. I had xcode version 6.3, which I downgraded to 6.2 and tried bundle and it worked!

Abhi
  • 165
  • 1
  • 9