Skip to content

Instantly share code, notes, and snippets.

@filipechagas
Last active October 1, 2015 07:58
Show Gist options
  • Save filipechagas/1950201 to your computer and use it in GitHub Desktop.
Save filipechagas/1950201 to your computer and use it in GitHub Desktop.
Install ruby-debug-base19 - rbenv - ruby 1.9.2 p290 - ubuntu 64
If you're using rvm:
$ rvm reinstall 1.9.3 --force-autoconf
$ gem install ruby-debug19 -- --with-ruby-include="${MY_RUBY_HOME/rubies/src}"
$ gem install debugger-linecache -- --with-ruby-include="${MY_RUBY_HOME/rubies/src}"
#Using rbenv and ruby 1.9.2 p290 on ubuntu 64
Download the following files from http://rubyforge.org/frs/?group_id=8883
* linecache19-0.5.13.gem
* ruby-debug-base19-0.11.26.gem
Then, execute:
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/filipechagas/.rbenv/versions/1.9.2-p320/include/ruby-1.9.1/ruby-1.9.2-p320
or
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/filipechagas/.rbenv/versions/1.9.3-rc1/include/ruby-1.9.1/ruby-1.9.3-rc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment