Created
May 13, 2011 18:37
-
-
Save windhamdavid/971050 to your computer and use it in GitHub Desktop.
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
d@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ make | |
gcc -shared -o readline.so readline.o -L. -L/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/david/.rvm/usr/lib -Wl,-R/home/david/.rvm/usr/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/david/.rvm/rubies/ruby-1.9.2-p180/lib -lruby -lreadline -lncurses -lpthread -lrt -ldl -lcrypt -lm -lc | |
david@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ sudo make install | |
[sudo] password for david: | |
/usr/bin/install -c -m 0755 readline.so /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-linux | |
david@code:~/.rvm/src/ruby-1.9.2-p180/ext/readline$ cd /var/www/ror | |
david@code:/var/www/ror$ rails console | |
Loading development environment (Rails 3.1.0.beta1) | |
1.9.2 :001 > | |
rvm install 1.9.2 --with-readline-dir=$rvm_path/usr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://blog.jasonmeridth.com/2010/11/25/readline-error-with-rvm-and-rails-3.html#comment-203189531