mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Supply valid ruby-prof parameters [#1804 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
This commit is contained in:
parent
25724eede9
commit
d6645a5e52
1 changed files with 1 additions and 1 deletions
|
@ -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.'
|
||||
|
|
Loading…
Reference in a new issue