Skip to content

Instantly share code, notes, and snippets.

@thanhtam92
Last active August 29, 2015 14:09
Show Gist options
  • Save thanhtam92/c3f13c5e068331f0647f to your computer and use it in GitHub Desktop.
Save thanhtam92/c3f13c5e068331f0647f to your computer and use it in GitHub Desktop.
When building native ruby gems, sometimes you'll get an error containing "ruby extconf.rb". This is often caused by missing dev libraries for the gem you're installing, or even ruby itself. Do you have apt installed on your machine? If not, I'd recommend installing it, it's a quick and easy way to get a lot of dev libraries. If you see people suggest installing "libmagick9-dev", that's an apt package that you'd install with:
$ sudo apt-get install libmagickwand-dev
or on centOs:
$ yum install ImageMagick-devel
On mac, you can use Homebrew:
$ brew install imagemagick
error don't start mysqld:
==> delete /var/lib/mysql/ibdata1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment