Skip to content
mark-moseley edited this page Sep 13, 2010 · 41 revisions

Linux installation instructions, Ruby 1.9.1 and 1.9.2:

First, run:

gem list

Make sure you don’t have columnize, linecache, ruby-debug-base, ruby-debug, or ruby-debug-ide. If you do, uninstall them. Then, determine which directories are included in your gems path:

gem env gempath

Append /gems to each one (they’re delimited by a semicolon), and then cd to each directory. Make sure that that there are no directories that start with columnize, linecache, ruby-debug-base, ruby-debug, or ruby-debug-ide. If there are, remove them with “rm -rf”.

Next, if you haven’t installed gems from github, run:

gem sources -a http://gems.github.com

Finally:

sudo gem install mark-moseley-ruby-debug-cli

Note: if you’re using a non-standard Ruby release (pulled from SVN, and/or patched), then instead, run:

sudo gem install mark-moseley-ruby-debug-cli -- --with-ruby-include=/path/to/ruby

where “/path/to/ruby” is the root path of the Ruby sources (the one with vm_core.h in it).

Windows installation instructions, Ruby 1.9.1-p129 only:

First, install 1.9.1p129 from here. Note the disclaimer at the top of the page. Do not install to a path that has a space inside of it (like “C:\Program Files\”).

Then install the Development Kit from the same page. If you don’t have 7-Zip, get it here. Extract, and follow the instructions in the INSTALL file. If you had installed Ruby in c:\ruby, and, extracted this kit into there also, then you don’t need to do anything.

Next, if you haven’t installed gems from github, run:

gem sources -a http://gems.github.com

Last, run:

gem install mark-moseley-ruby-debug-cli

Note: if you’re using a non-standard Ruby release (pulled from SVN, and/or patched), then instead, run:

gem install mark-moseley-ruby-debug-cli -- --with-ruby-include=c:/path/to/ruby

where “/path/to/ruby” is the root path of the Ruby sources (the one with vm_core.h in it). Don’t use the Windows-style backslash.

Mac OSX, Ruby 1.9.1-p129:

Installation program here. Assumes you have the latest Ruby 1.9 installed via MacPorts.

ruby-debug-ide installation (all platforms)

Download the gem from here. Put it in a local directory, and from that directory, run:

gem install ruby-debug-ide -l --ignore-dependencies

Clone this wiki locally