Forked from boriscy/install-ruby-debug-ubuntu-ruby-1.9.3
Last active
December 15, 2015 14:49
-
-
Save DeepakSinghRawat/5277687 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #To install ruby-debug on Ubuntu ruby-1.9.3 you need to download from http://rubyforge.org/frs/?group_id=8883 | |
| Note: Download links available in the first comment | |
| 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 | |
| rvm install ruby-1.9.3-p392 | |
| rvm use ruby-1.9.3-p392@global | |
| export RVM_SRC=$HOME/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 | |
| gem install archive-tar-minitar | |
| gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=/$RVM_SRC | |
| export RVM_SRC=$HOME/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby-1.9.3-p392/ | |
| 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 | |
| Edit Gemfile: | |
| gem 'linecache19', '0.5.13', :path => "~/.rvm/gems/ruby-1.9.3-p392@global/gems/linecache19-0.5.13/" | |
| gem 'ruby-debug-base19', '0.11.26', :path => "~/.rvm/gems/ruby-1.9.3-p392@global/gems/ruby-debug-base19-0.11.26/" | |
| gem 'ruby-debug19', :require => 'ruby-debug' | |
| Then | |
| bundle install --system |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Direct links to gems:
http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
http://rubyforge.org/frs/download.php/74596/ruby_core_source-0.1.5.gem
http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem
http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem