Installing mysql gem on rubinius

55 Views Asked by At

I have tried installing MYSQL gem on fedora using rubinius but it keeps throwing failed to build gem's native extension and that I should install development tools first.

I am on Fedora 22 and I already have mysql-devel library installed. What should I do?

1

There are 1 best solutions below

1
Micah Elliott On

You probably don’t have gcc et al installed yet. The “development tools” being referred to is likely the yum/dnf group. You can install a slew of build tools by following these instructions. But now that we’re on Fedora 22, use dnf instead of yum.

So, in short:

sudo dnf groupinstall 'Development Tools' 'Development Libraries'