Installation error on Mint17 / Ubuntu 14.04
ERROR: Error installing json: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from extconf.rb:1:in `'```
After searching around and trying diverse solutions found on the web, it appears that one needs the dev version of ruby, since it provides "mkmf".
So for now, just type sudo apt-get install ruby1.9.1-dev
Works like charm..
I had the same issueI am using Ubuntu 14.04 with rvm
after installing ruby1.9.1-dev , i have no issue.
I Followed these steps:
Step 1 : sudo apt-get install ruby1.9.1-dev Step 2: rvm use system That's it you are done!
Debian Jessy (testing) does not contain ruby1.9.1-dev so one can not install it without pulling stuff from sid.
+1
There should be a hint regarding this in the README!
Try using rvm. (http://rvm.io) That will let you choose the Ruby version On Jul 7, 2014 7:03 AM, "Simon Jakobi" [email protected] wrote:
+1
There should be a hint regarding this in the README!
— Reply to this email directly or view it on GitHub https://github.com/trogdoro/xiki/issues/79#issuecomment-48160676.
Sorry, I should have added a few details.
I'm on Ubuntu 14.04 too and @guenam's advice to install ruby1.9.1-dev worked for me!
Awesome
Ubuntu 14.04, confirm installation of ruby1.9.1-dev works.