From 6492a2bd2198e38f374611b7c10fd976a2867b29 Mon Sep 17 00:00:00 2001 From: Rob Zolkos Date: Sun, 24 Oct 2010 21:20:41 +1100 Subject: added tip about ruby-debug needing a different gem if using 1.9 [#190 state:resolved] --- railties/guides/source/debugging_rails_applications.textile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties/guides/source/debugging_rails_applications.textile') diff --git a/railties/guides/source/debugging_rails_applications.textile b/railties/guides/source/debugging_rails_applications.textile index b9d45fb13a..6eec18b8b9 100644 --- a/railties/guides/source/debugging_rails_applications.textile +++ b/railties/guides/source/debugging_rails_applications.textile @@ -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 +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. -- cgit v1.2.3