我想在我的电脑中安装Octopress
。 我尽量做到像无法在安装RedCloth-4.2.9时安装gem原生扩展安装Linux
当我运行
bundle install
我收到错误消息
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.
所以,我跑
sudo gem install RedCloth -v '4.2.9'
然后,我再次收到一条错误消息:
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>'
我没有学过关于ruby的任何知识。
你有什么GNU?你为Ruby构建'dev'包吗? – Hauleth