undefined method `run_init_script' for Debugger:Module


Fritz Trapper

I'm new with ruby and rails.

My environmant is RadRails running on Ubuntu 9.04 with ruby 1.8.7

After I started the debug server from RadRails, I got this output

Fast Debugger (ruby-debug-ide 0.4.5) listens on localhost:44275
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.0 application starting on
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel 1.1.5 available at
** Use CTRL-C to stop.

Looks well. But executing a debugger statement in my controller, rails
crashes with this message:

undefined method `run_init_script' for Debugger:Module

The first backtrace line is:


The next is the debuger line in my controller.

How to fix this?

Fritz Trapper

It seems to be a RadRails issue.

Running debug sevrer from a terminal window and rails console from
another one works well.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Latest member

Latest Threads