imathis / octopress

Octopress is an obsessively designed framework for Jekyll blogging. It’s easy to configure and easy to deploy. Sweet huh?
http://github.com/imathis/octopress
9.32k stars 2.62k forks source link

redcloth won't install #1369

Closed raylance closed 11 years ago

raylance commented 11 years ago

I get :

~/octopress$ bundle install
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Enter your password to install the bundled RubyGems to your system: 
Installing rake (0.9.2.2)                                                                                                                                                                                                           
Installing RedCloth (4.2.9)                                                                                                                                                                                                         
Gem::Installer::ExtensionBuildError: 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>'                                                                                                                                                                                               

Gem files will remain installed in /home/ray/.bundler/tmp/14178/gems/RedCloth-4.2.9 for inspection.                                                                                                                                 
Results logged to /home/ray/.bundler/tmp/14178/gems/RedCloth-4.2.9/ext/redcloth_scan/gem_make.out                                                                                                                                   

An error occurred while installing RedCloth (4.2.9), and Bundler cannot continue.                                                                                                                                                   
Make sure that `gem install RedCloth -v '4.2.9'` succeeds before bundling. 
parkr commented 11 years ago

What do you get when you run gem install RedCloth -v '4.2.9'?

parkr commented 11 years ago

What system are you using? Make sure you have the Ruby dev package installed (ruby-dev or ruby-devel)

raylance commented 11 years ago

ubuntu 13.04 -- ruby-dev did the trick -- THANKS SO MUCH!

Did I overlook the dev pkg requirement in the docs?

nbpzjy commented 8 years ago

gem install RedCloth -v '4.2.9' Install unsuccess