class Utils::ProbeServer
def cmd(job)
-
(Array
- the constructed command array ready for execution)
Parameters:
-
job
(Array
) -- the job arguments to be included in the command
def cmd(job) call = [] if ENV.key?('BUNDLE_GEMFILE') and bundle = `which bundle`.full?(:chomp) call << bundle << 'exec' end call.push($0, *job) output_message "Executing #{call.inspect} now.", type: :info call end