Created
May 24, 2011 07:28
-
-
Save evtuhovich/988261 to your computer and use it in GitHub Desktop.
Enabling russian in IRB
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
$ cd .rvm/src/ree-1.8.7-2011.03/source/ext/readline/ | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ ls | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ brew install readline | |
Warning: Formula already installed: readline | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ ruby extconf.rb --with-readline-dir=/usr/local/Cellar/readline/6.2.1/ | |
checking for tgetnum() in -lncurses... yes | |
[...skiped...] | |
creating Makefile | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ make | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o readline.bundle readline.o -L. -L/Users/brun/.rvm/rubies/ree-1.8.7-2011.03/lib -L/usr/local/Cellar/readline/6.2.1//lib -L. -lreadline -lncurses -L/opt/local/lib -ldl -lobjc | |
ld: warning: directory '/opt/local/lib' following -L not found | |
~/.rvm/src/ree-1.8.7-2011.03/source/ext/readline$ make install | |
/usr/bin/install -c -m 0755 readline.bundle /Users/brun/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/site_ruby/1.8/i686-darwin10.7.0 |
много раз собирал и все работало, если у вас была ошибка, я бы помог разобраться, если бы написали
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Пытались собрать readline как написано в мануале от Равиля для ree. Ничего не получилось. Слава достается brew