Repository navigation
Troubleshooting
1. If you have problems installing (or updating a previous install), try starting out with a fresh 1.9.x Ruby installation. Sometimes older components can cause conflicts.
2. Installing under FreeBSD, one user has reported that the gems install goes to the wrong directory:
It was necessary for me to pass the install-dir to the gem. By default this gem was installing at /usr/local/lib/ruby19/gems/1.9, whereas all other gems on my system installed themselves in /usr/local/lib/ruby/gems/1.9. This worked:
gem install ruby-debug19 --install-dir=/usr/local/lib/ruby/gems/1.9
1. `debugger’: undefined method `run_init_script’ for Debugger:Module (NoMethodError)
This error occurs if you have both ruby-debug19 and ruby-debug-ide installed, and, you’re debugging by inserting "require ‘ruby-debug’" and "debugger" into your code. To fix, uninstall ruby-debug-ide.
2. Inability to set breakpoints on valid code
There was a bug in the Ruby core (details here) that has been fixed. It should be released in the 1.9.2 preview2.
3. Breakpoints don’t get hit when they should
This will happen if you set a breakpoint, and then a new thread gets created that executes the code with the breakpoint. I’m working on a fix.