mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -05:00
Make the inspector work on debian (closes #4935) [Lars pind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -18,7 +18,7 @@ class Inspector
|
||||
end
|
||||
|
||||
def inspect
|
||||
header = `#{OPTIONS[:ps] % 0}`.split("\n")[0] + "\n"
|
||||
header = `#{OPTIONS[:ps] % 1}`.split("\n")[0] + "\n"
|
||||
lines = pids.collect { |pid| `#{OPTIONS[:ps] % pid}`.split("\n")[1] }
|
||||
|
||||
puts(header + lines.join("\n"))
|
||||
|
||||
Reference in New Issue
Block a user