Skip to content
Browse files

Supply valid ruby-prof parameters [#1804 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent 4cd4072 commit d5f018eb103b63738f7f3b2374242fbdd40cfd63 Jacob Kjeldahl committed with lifo Jan 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/commands/performance/profiler.rb
View
2 railties/lib/commands/performance/profiler.rb
@@ -29,7 +29,7 @@
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.'

0 comments on commit d5f018e

Please sign in to comment.
Something went wrong with that request. Please try again.