xiki icon indicating copy to clipboard operation
xiki copied to clipboard

Installation error on Mint17 / Ubuntu 14.04

Open ghost opened this issue 11 years ago • 7 comments

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

ghost avatar Jun 27 '14 15:06 ghost

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!

rameshkumarxyz avatar Jun 30 '14 08:06 rameshkumarxyz

Debian Jessy (testing) does not contain ruby1.9.1-dev so one can not install it without pulling stuff from sid.

85pando avatar Jul 02 '14 13:07 85pando

+1

There should be a hint regarding this in the README!

sjakobi avatar Jul 07 '14 10:07 sjakobi

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.

iachettifederico avatar Jul 07 '14 13:07 iachettifederico

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!

sjakobi avatar Jul 07 '14 13:07 sjakobi

Awesome

iachettifederico avatar Jul 07 '14 13:07 iachettifederico

Ubuntu 14.04, confirm installation of ruby1.9.1-dev works.

HarolddeBruijn avatar Jul 18 '14 18:07 HarolddeBruijn