Skip to content

Instantly share code, notes, and snippets.

@windhamdavid
Created May 13, 2011 18:37
Show Gist options
  • Save windhamdavid/971050 to your computer and use it in GitHub Desktop.
Save windhamdavid/971050 to your computer and use it in GitHub Desktop.
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 >
@windhamdavid
Copy link
Author

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