【发布时间】:2012-08-20 14:13:32
【问题描述】:
我想在我的电脑上安装Octopress。
我试着这样做
当我跑步时
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包。