diff options
author | Jacob Kjeldahl <jkj@lenio.dk> | 2009-01-27 15:00:18 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-17 14:53:06 +0200 |
commit | d6645a5e52308a3270bf11f8c71cbf7c7f9d48f3 (patch) | |
tree | dc4cb2d1a0578620e9e8bb18829388c5aae4a9ad /railties/lib/commands | |
parent | 25724eede9b5a62c74b3b78245944638f1cfcef4 (diff) | |
download | rails-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')
-rw-r--r-- | railties/lib/commands/performance/profiler.rb | 2 |
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.' |