Wednesday, September 11, 2013

mac ruby iconv not found

#if you are using rbenv to setup your ruby, use this command:
CONFIGURE_OPTS="--with-iconv-dir=/usr/bin/iconv" rbenv install [version]

#to locate your iconv, use
which iconv

eg:
CONFIGURE_OPTS="--with-iconv-dir=/usr/" rbenv install 1.9.3-p448

otherwise for rvm, you may use instruction from here:
http://stackoverflow.com/questions/7829886/in-require-no-such-file-to-load-iconv-loaderror

No comments: