azec.me
azec.me

Reputation: 5078

Mysql gem fail when running bundle install

I am trying to bundle install the Rails project I pulled from GitHub. However, I run in this issue. Here is my Gemfile.

I can't get this to work. Any opinions what might go wrong here?

THANKS!

Upvotes: 0

Views: 547

Answers (2)

Kumar Akarsh
Kumar Akarsh

Reputation: 4980

On ubuntu you need to install libmysqlclient-dev package using the command

sudo apt-get install libmysqlclient-dev

Upvotes: 2

Femaref
Femaref

Reputation: 61497

You need to install the mysql dev packages to compile the native extension.

Upvotes: 1

Related Questions