8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/core/commands/checkup.rb', line 8
def run(args=nil)
if !allDependenciesInstalled?
return
end
if !File.directory? Nutella.config["broker_dir"]
console.warn "You don't seem to have a local broker installed so we are going to go ahead and install one for you. This might take some time..."
if !installBroker
console.error "Whoops...something went wrong while installing the broker. "
return
end
else
console.info "You have a local broker installed. Yay!"
end
Nutella.config["ready"] = true
console.success("All systems go! You are ready to use nutella!")
end
|