aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/performance/profiler.rb
diff options
context:
space:
mode:
authorJacob Kjeldahl <jkj@lenio.dk>2009-01-27 15:00:18 +0100
committerPratik Naik <pratiknaik@gmail.com>2009-05-17 14:53:06 +0200
commitd6645a5e52308a3270bf11f8c71cbf7c7f9d48f3 (patch)
treedc4cb2d1a0578620e9e8bb18829388c5aae4a9ad /railties/lib/commands/performance/profiler.rb
parent25724eede9b5a62c74b3b78245944638f1cfcef4 (diff)
downloadrails-d6645a5e52308a3270bf11f8c71cbf7c7f9d48f3.tar.gz
rails-d6645a5e52308a3270bf11f8c71cbf7c7f9d48f3.tar.bz2
rails-d6645a5e52308a3270bf11f8c71cbf7c7f9d48f3.zip
Supply valid ruby-prof parameters [#1804 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib/commands/performance/profiler.rb')
-rw-r--r--railties/lib/commands/performance/profiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/performance/profiler.rb b/railties/lib/commands/performance/profiler.rb
index fd111bae87..7df840f197 100644
--- a/railties/lib/commands/performance/profiler.rb
+++ b/railties/lib/commands/performance/profiler.rb
@@ -29,7 +29,7 @@ begin
printer_class = RubyProf::FlatPrinter
end
printer = printer_class.new(results)
- printer.print($stderr, 0)
+ printer.print($stderr)
rescue LoadError
require "prof"
$stderr.puts 'Using the old ruby-prof extension.'