Skip to content

Instantly share code, notes, and snippets.

@marhan
Created January 21, 2012 08:58
Show Gist options
  • Save marhan/1652066 to your computer and use it in GitHub Desktop.
Save marhan/1652066 to your computer and use it in GitHub Desktop.
Ruby debugger installation fix for 1.9.3
#/bin/bash
#
# NOT WORKING, yet!!!
#
# based uppen https://gist.github.com/1331533
#
# bash < <(curl -s https://raw.github.com/gist/1652066/8e6c3e4b67d572f8f673e3d3950d94cfcd1e0954/install_debugger.sh)
#
DOWN_LOAD_DIR=/Users/markus/Downloads
wget -P $DOWN_LOAD_DIR http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
wget -P $DOWN_LOAD_DIR http://rubyforge.org/frs/download.php/74596/ruby_core_source-0.1.5.gem
wget -P $DOWN_LOAD_DIR http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem
wget -P $DOWN_LOAD_DIR http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
#
export RVM_SRC=/Users/markus/.rvm/src/ruby-1.9.3-p0/
#export RVM_SRC=/Users/markus/.rvm/src/ruby-1.9.3-p0/include/ruby
#
#gem install linecache19-0.5.13.gem
#
#gem install ruby-debug-base19-0.11.26.gem ——with-ruby-include=/Users/markus/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby
#
#
#gem install archive-tar-minitar # working
#gem install $DOWN_LOAD_DIR/ruby_core_source-0.1.5.gem -- --with-ruby-include=$RVM_SRC # working
gem install $DOWN_LOAD_DIR/linecache19-0.5.13.gem -- --with-ruby-include=$RVM_SRC
gem install $DOWN_LOAD_DIR/ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$RVM_SRC
gem install $DOWN_LOAD_DIR/ruby-debug19-0.11.6.gem -- --with-ruby-include=$RVM_SRC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment