added tip about ruby-debug needing a different gem if using 1.9 [#190 state:resolved]

This commit is contained in:
Rob Zolkos 2010-10-24 21:20:41 +11:00
parent b0aae28422
commit 6492a2bd21
1 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,8 @@ The debugger used by Rails, +ruby-debug+, comes as a gem. To install it, just ru
$ sudo gem install ruby-debug
</shell>
TIP: If you are using Ruby 1.9, you can install a compatible version of +ruby-debug+ by running +sudo gem install ruby-debug19+
In case you want to download a particular version or get the source code, refer to the "project's page on rubyforge":http://rubyforge.org/projects/ruby-debug/.
Rails has had built-in support for ruby-debug since Rails 2.0. Inside any Rails application you can invoke the debugger by calling the +debugger+ method.