trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

Installation error on Mint17 / Ubuntu 14.04 #79

Open ghost opened 10 years ago

ghost commented 10 years ago

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

trkrameshkumar commented 10 years ago

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!

85pando commented 10 years ago

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

sjakobi commented 10 years ago

+1

There should be a hint regarding this in the README!

iachettifederico commented 10 years ago

Try using rvm. (http://rvm.io) That will let you choose the Ruby version On Jul 7, 2014 7:03 AM, "Simon Jakobi" notifications@github.com 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.

sjakobi commented 10 years ago

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!

iachettifederico commented 10 years ago

Awesome

HarolddeBruijn commented 10 years ago

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