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

Then:

sudo gem install mark-moseley-ruby-debug-base -- --with-ruby-include='ruby source dir'

The ruby source dir is where you originally built 1.9, like /tmp/ruby-1.9.1-p243. It’s the directory with node.h in it.

Finally,

sudo gem install ruby-debug --ignore-dependencies

Windows installation instructions, Ruby 1.9.1-p129 only:

1. Install 1.9.1p129 from here. Note the disclaimer at the top of the page.

2. 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.

3. Get all of the Ruby 1.9.1p129 sources from here. We only need a few headers from it. Extract it all to a different directory.

4. Run:

gem install mark-moseley-ruby-debug-base -- --with-ruby-include='directory from step 3'

Don’t use the Windows-style backslash. For example, “c:/ruby-1.9.1-p129”.

5. Run:

gem install ruby-debug --ignore-dependencies

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