Get rid of 'bogus ps syntax' maybe figure out why 1.9 is freaking out about the oauth steps
This commit is contained in:
parent
b64ba85878
commit
4e1e8fdb80
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class Chubbies
|
|||
|
||||
def self.get_pid
|
||||
@pid ||= lambda {
|
||||
processes = `ps -ax -o pid,command | grep "rackup -p #{PORT}"`.split("\n")
|
||||
processes = `ps ax -o pid,command | grep "rackup -p #{PORT}"`.split("\n")
|
||||
processes = processes.select{|p| !p.include?("grep") }
|
||||
processes.first.split(" ").first
|
||||
}.call
|
||||
|
|
|
|||
Loading…
Reference in a new issue