diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-05-01 17:28:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-05-01 17:28:55 +0000 |
commit | ff0b76613a31434b84055fb235fe000729e52a8f (patch) | |
tree | 12285057e56784fb3e822e6481773253b35c3e81 | |
parent | 04ef7f4be6c26e35947f2dd3e4dfbd1eb73c9933 (diff) | |
download | rails-ff0b76613a31434b84055fb235fe000729e52a8f.tar.gz rails-ff0b76613a31434b84055fb235fe000729e52a8f.tar.bz2 rails-ff0b76613a31434b84055fb235fe000729e52a8f.zip |
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
-rw-r--r-- | railties/lib/commands/process/inspector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/process/inspector.rb b/railties/lib/commands/process/inspector.rb index 8b768f8821..6a23f498e0 100644 --- a/railties/lib/commands/process/inspector.rb +++ b/railties/lib/commands/process/inspector.rb @@ -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")) |