Skip to content

Instantly share code, notes, and snippets.

@mattfinlayson
Created December 29, 2011 01:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattfinlayson/1530870 to your computer and use it in GitHub Desktop.
Save mattfinlayson/1530870 to your computer and use it in GitHub Desktop.
iconv errors running jekyll on os x
rake generate
## Generating Site with Jekyll
directory source/stylesheets/
create source/stylesheets/screen.css
/Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `require': no such file to load -- iconv (LoadError)
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `<top (required)>'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku.rb:85:in `require'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku.rb:85:in `<top (required)>'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll.rb:26:in `require'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll.rb:26:in `<top (required)>'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/bin/jekyll:20:in `require'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/bin/jekyll:20:in `<top (required)>'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/bin/jekyll:19:in `load'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/bin/jekyll:19:in `<main>'
rvm pkg install readline
rvm pkg install iconv
rvm remove 1.9.2
rvm install 1.9.2 -C --with-iconv-dir=$HOME/.rvm/usr
@LucasArruda
Copy link

Thanks for this! It fixes `rake generate' error.

@lukas2
Copy link

lukas2 commented Jul 4, 2012

Thank you. Solved a similar problem for me.

@zer
Copy link

zer commented Jul 6, 2012

Thanks for that, I had the same error on FreeBSD 9.

Installing iconv only worked with this line though:

rvm --skip-autoreconf pkg install iconv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment