Skip to content

Instantly share code, notes, and snippets.

@cwise
Created November 10, 2011 02:49
Show Gist options
  • Save cwise/1353966 to your computer and use it in GitHub Desktop.
Save cwise/1353966 to your computer and use it in GitHub Desktop.
Ubuntu missing readline
You'll notice that readline is missing when attempting to run the console on Ubuntu.
sudo apt-get install install libreadline5-dev libncurses5-dev
rvm pkg install readline
cd $HOME/.rvm/src/ruby-1.9.2-p0/ext/readline
rvm remove 1.9.2
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