Skip to content

Instantly share code, notes, and snippets.

@boriscy
Created November 26, 2010 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boriscy/717145 to your computer and use it in GitHub Desktop.
Save boriscy/717145 to your computer and use it in GitHub Desktop.
Ruby debug 19
sudo apt-get install curl git-core ruby
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
echo "[[ -s "$HOME/.rvm/scripts/rvm" ]] && source \"$HOME/.rvm/scripts/rvm\"" >> .bashrc
sudo aptitude install build-essential bison openssl libreadline5 libreadline-dev curl git-core zlib1g zlib1g-dev libssl-dev vim-gnome libsqlite3-0 libsqlite3-dev sqlite3 libreadline-dev libxml2-dev git-core subversion autoconf
rvm install 1.9.2
cd ~/.rvm/src/ruby-1.9.2-p0/ext/readline
ruby extconf.rb
make
make install
gem install ruby-debug19 -- --with-ruby-include=`cd ~/.rvm/src/ruby-1.9.2-p0; pwd`
gem install ruby-debug-base19 -- --with-ruby-include=/home/pablo/.rvm/src/ruby-1.9.2-head/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment