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
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.
sudo gem install ruby-debug --ignore-dependencies
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.
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”.
gem install ruby-debug --ignore-dependencies
Installation program here. Assumes you have the latest Ruby 1.9 installed via MacPorts.
Download the gem from here. Put it in a local directory, and from that directory, run:
gem install ruby-debug-ide -l --ignore-dependencies