Skip to content

Instantly share code, notes, and snippets.

@huynguyen
Created October 31, 2011 22:42
Show Gist options
  • Save huynguyen/1329273 to your computer and use it in GitHub Desktop.
Save huynguyen/1329273 to your computer and use it in GitHub Desktop.
ruby-1.9.3-p0 ruby-debug and rvm
#Need the latest version so it knows where to get ruby-1.9.3
rvm get head
curl -O https://github.com/ruby/ruby/pull/56.diff
rvm install ruby-1.9.3-p0 --patch 56.diff
cd ~/.rvm/src/ruby-1.9.3-p0
# Need to recompile because rvm doesn't force autoconf?
autoconf -f && ./configure --prefix="$HOME/.rvm/rubies/ruby-1.9.3-p0" && make -j3 && make install
@huynguyen
Copy link
Author

@mpapis Worked like a charm, thank you sir!

@sj26
Copy link

sj26 commented Dec 1, 2011

There is a new version of ruby-debug which fixes 1.9.3, no recompilation needed: http://rubyforge.org/frs/?group_id=8883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment