Reputation: 167
* 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.
Upvotes: 5
Views: 4103
Reputation: 823
Had the exact same problem. The following fixed it for me, using Ubuntu Linux:
sudo apt-get update
...
sudo apt-get install libmagickcore-dev
...
sudo apt-get install libmagickwand-dev
...
bundle install
You may have to run bundle update
if you have other dependency issues, as I did. Good luck!
Upvotes: 8