Created
November 26, 2010 19:44
-
-
Save boriscy/717145 to your computer and use it in GitHub Desktop.
Ruby debug 19
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
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