diff options
author | Rob Zolkos <rob@funkyhive.com.au> | 2010-10-24 21:20:41 +1100 |
---|---|---|
committer | Rob Zolkos <rob@funkyhive.com.au> | 2010-10-24 21:20:41 +1100 |
commit | 6492a2bd2198e38f374611b7c10fd976a2867b29 (patch) | |
tree | 619a356a9a81ea1e94f50fec43af245a6941c4f1 /railties/guides/source/debugging_rails_applications.textile | |
parent | b0aae2842275427b3842ca99d2d56c3fb96f8f6d (diff) | |
download | rails-6492a2bd2198e38f374611b7c10fd976a2867b29.tar.gz rails-6492a2bd2198e38f374611b7c10fd976a2867b29.tar.bz2 rails-6492a2bd2198e38f374611b7c10fd976a2867b29.zip |
added tip about ruby-debug needing a different gem if using 1.9 [#190 state:resolved]
Diffstat (limited to 'railties/guides/source/debugging_rails_applications.textile')
-rw-r--r-- | railties/guides/source/debugging_rails_applications.textile | 2 |
1 files changed, 2 insertions, 0 deletions
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 </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. |