Nie udało się zbudować rozszerzenia natywnego gem podczas instalacji RedCloth-4.2.9 zainstalować Linuksa
Chcę zainstalowaćOctopress
w moim komputerze. Staram się to robić
Kiedy uciekam
bundle install
Dostałem komunikat o błędzie
An error occured while installing RedCloth (4.2.9), and Bundler cannot continue.
Make sure that `gem install RedCloth -v '4.2.9'` succeeds before bundling.
Więc uciekam
sudo gem install RedCloth -v '4.2.9'
następnie ponownie otrzymałem komunikat o błędzie:
ERROR: Error installing RedCloth:
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:in `require'
from extconf.rb:1:in `<main>'
Nie nauczyłem się żadnej wiedzy na temat rubinu.