Skip to content

Navigation Menu

Sign up
mark-moseley edited this page Sep 13, 2010 · 9 revisions

Installation

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

Running

1. At times, releases may be frequent, so make sure you’re running the latest versions of the gems. You can check what the most current releases are at the RubyForge files page, and ruby-debug-ide is here.

2. `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, make sure you’re running ruby-debug-ide 0.4.8.

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

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /