Created
January 8, 2012 16:55
-
-
Save hindenbug/1578969 to your computer and use it in GitHub Desktop.
ruby-debug with ruby 1.9.3
This file contains 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
###In order to use ruby-debug with ruby-1.9.3 you need to download the following 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 from the terminal run,### | |
gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0 | |
gem install linecache19-0.5.13.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0 | |
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0 | |
gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0 | |
#If you wish to use the debugger in gemsets then run the above steps in the desired gemset | |
###then in your Gemfile require ### | |
gem "linecache19", "0.5.13" | |
gem "ruby-debug-base19", "0.11.26" | |
gem "ruby-debug19", require: 'ruby-debug' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment