Method: Bj::Runner::ClassMethods#command

Defined in:
lib/bj/runner.rb

#commandObject



120
121
122
123
124
125
126
127
128
129
130
# File 'lib/bj/runner.rb', line 120

def command
  "#{ Bj.ruby } " + %W[
    #{ Bj.script }
    run 
    --forever 
    --redirect=#{ log }
    --ppid=#{ Process.pid }
    --rails_env=#{ Bj.rails_env }
    --rails_root=#{ Bj.rails_root }
  ].map{|word| word.inspect}.join(" ")
end