Skip to content

Instantly share code, notes, and snippets.

@dx7
Created November 2, 2011 14:33
Show Gist options
  • Select an option

  • Save dx7/1333785 to your computer and use it in GitHub Desktop.

Select an option

Save dx7/1333785 to your computer and use it in GitHub Desktop.

Revisions

  1. dx7 revised this gist Jun 21, 2012. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    ### UPDATE: ruby-debuy19 is no longer maintained, use https://github.com/cldwalker/debugger

    # Install with:
    # bash < <(curl -L https://raw.github.com/gist/1333785)
    #
  2. dx7 revised this gist Nov 3, 2011. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,8 @@

    echo "Installing ruby-debug with ruby-1.9.3-p0 ..."

    curl -O http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
    curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
    curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem

    gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/

  3. dx7 revised this gist Nov 3, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@

    echo "Installing ruby-debug with ruby-1.9.3-p0 ..."

    wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
    curl -O http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem

    gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/

  4. dx7 revised this gist Nov 2, 2011. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,13 @@
    # Install with:
    # bash < <(curl -L https://raw.github.com/gist/1333785)
    #
    # Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug

    echo "Installing ruby-debug with ruby-1.9.3-p0 ..."

    wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
    wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
    wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem

    gem install linecache19-0.5.13.gem
    gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/
    gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/

    rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem

  5. dx7 created this gist Nov 2, 2011.
    13 changes: 13 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug

    echo "Installing ruby-debug with ruby-1.9.3-p0 ..."

    wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
    wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem

    gem install linecache19-0.5.13.gem
    gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/

    rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem

    echo "Done."