Can't Install RedCloth

as in the name, I have problems installing gem RedCloth. I downloaded RubyGems v1.8.24 and used ubuntu 12.04, here is my console log:

kuba@kuba-P5Q-SE :~$ sudo gem install RedCloth [sudo] password for kuba: Building native extensions. This could take a while... ERROR: Error installing RedCloth: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) from /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from extconf.rb:1:in `<main>' Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.9 for inspection. Results logged to /usr/lib/ruby/gems/1.9.1/gems/RedCloth- 4.2.9/ext/redcloth_scan/gem_make.out 

I tried to examine this last given file, but when I search for it, it opens chrome and gives me an error .:(

+4
source share
1 answer

Try installing the ruby1.9.1-dev package from Synaptic or using apt-get.

At the command line: sudo apt-get install ruby1.9.1-dev

mkmf (a module that does not load) is only included in the development package for ruby ​​on ubuntu .

+15
source

All Articles