Skip to content

Instantly share code, notes, and snippets.

@cubu
Forked from boriscy/install-ruby-debug-ubuntu-ruby-1.9.3
Last active December 17, 2015 23:49
Show Gist options
  • Select an option

  • Save cubu/5692295 to your computer and use it in GitHub Desktop.

Select an option

Save cubu/5692295 to your computer and use it in GitHub Desktop.
1. Fetch source:
RVM tries to install binaries first, it's faster. For installing source only try:
> rvm fetch 1.9.3
For installing ruby from souce:
> rvm reinstall 1.9.3 --disable-binary
#To install ruby-debug on Ubuntu ruby-1.9.3 you need to download from http://rubyforge.org/frs/?group_id=8883
linecache19-0.5.13.gem
ruby_core_source-0.1.5.gem
ruby-debug19-0.11.6.gem
ruby-debug-base19-0.11.26.gem
#Then in your console
export RVM_SRC=/usr/local/rvm/src/ruby-1.9.3-p429
# Note, your source path should be something like /home/user/.rvm/src/ruby-1.9.3-p0
gem install archive-tar-minitar
gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=/$RVM_SRC
gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RVM_SRC
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC
gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=/$RVM_SRC
gem install capybara-webkit-0.12.1.gem -- --with-ruby-include=/$RVM_SRC
gem install libxml-ruby-2.3.3.gem -- --with-ruby-include=/$RVM_SRC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment