Skip to content

Instantly share code, notes, and snippets.

@rodrigopinto
Created September 3, 2011 02:50
Show Gist options
  • Select an option

  • Save rodrigopinto/1190461 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigopinto/1190461 to your computer and use it in GitHub Desktop.
install ruby version on rvm pointing to libiconv of brew
#installing iconv library
$ brew install libiconv
#removing the ruby version if it there is previously
$ rvm remove 1.9.2
#installing the ruby version pointing to the iconv library
$ rvm install 1.9.2 --with-iconv-dir=/usr/local/Cellar/libiconv/1.13.1
@dingyong
Copy link

$ rvm install 1.9.2 -C 'LDFLAGS="-L/usr/local/Cellar/libiconv/1.14/lib" CPPFLAGS="-I/usr/local/Cellar/libiconv/1.14/include"'

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