Skip to content

Commit

Permalink
Supply valid ruby-prof parameters [#1804 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information
Jacob Kjeldahl authored and lifo committed May 17, 2009
1 parent 4cd4072 commit d5f018e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/commands/performance/profiler.rb
Expand Up @@ -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.'
Expand Down

0 comments on commit d5f018e

Please sign in to comment.