Created
December 29, 2011 01:01
-
-
Save mattfinlayson/1530870 to your computer and use it in GitHub Desktop.
iconv errors running jekyll on os x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Thank you. Solved a similar problem for me.
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
Thanks for this! It fixes `rake generate' error.