aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorAditya Sanghi <asanghi@me.com>2012-04-18 00:48:59 +0530
committerAditya Sanghi <asanghi@me.com>2012-04-18 01:03:59 +0530
commit6f80ea2aec83523640b505ddd5b6e87f0100a85b (patch)
tree1222f60fa5af5b0a036f53e8a170df1d4719e360 /guides/source
parent0232543e0d885902b5b3ea9c4cf0638d76583a35 (diff)
downloadrails-6f80ea2aec83523640b505ddd5b6e87f0100a85b.tar.gz
rails-6f80ea2aec83523640b505ddd5b6e87f0100a85b.tar.bz2
rails-6f80ea2aec83523640b505ddd5b6e87f0100a85b.zip
review changes for #5875
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/debugging_rails_applications.textile8
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/debugging_rails_applications.textile b/guides/source/debugging_rails_applications.textile
index 8b6e914291..ed91999496 100644
--- a/guides/source/debugging_rails_applications.textile
+++ b/guides/source/debugging_rails_applications.textile
@@ -202,16 +202,16 @@ h4. Setup
The debugger used by Rails, +debugger+, comes as a gem. To install it, just run:
<shell>
-$ sudo gem install debugger
+$ gem install debugger
</shell>
-TIP: If you are using Ruby 1.9, you can install a compatible version of +ruby-debug+ by running +sudo gem install debugger+
+TIP: If you are using Ruby 1.9, you can install a compatible version of +ruby-debug+ by running +gem install debugger+
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.
-ruby-debug19 has had a number of compatibility issues with ruby 1.9.3+ and as such the ball has been picked to maintain the ruby debugging gem in the newer "debugger" gem.
++ruby-debug19+ gem has been replaced by the +debugger+ gem due to multiple issues on Ruby 1.9.3.
Here's an example:
@@ -639,7 +639,7 @@ If a Ruby object does not go out of scope, the Ruby Garbage Collector won't swee
To install it run:
<shell>
-$ sudo gem install bleak_house
+$ gem install bleak_house
</shell>
Then setup your application for profiling. Then add the following at the bottom of config/environment.rb: