Class: RocketFuel::Fix::CurlFix
Instance Method Summary
collapse
Methods inherited from AbstractFix
#check, fix_name, fix_name_value, register!
Instance Method Details
#message ⇒ Object
17
18
19
20
21
22
|
# File 'lib/rocket_fuel/fix/curl_fix.rb', line 17
def message
'Rocket Fuel needs to download a series of tools, and curl is used ' +
'to manage those downloads. You must install the tool for rocket fuel ' +
'to work. For Linux installations that use apt for package management, ' +
'you can invoke `sudo apt-get install curl` to install.'
end
|
#run ⇒ Object
9
10
11
|
# File 'lib/rocket_fuel/fix/curl_fix.rb', line 9
def run
system('sudo apt-get install curl -y')
end
|
#title ⇒ Object
13
14
15
|
# File 'lib/rocket_fuel/fix/curl_fix.rb', line 13
def title
'curl must be installed for rocket fuel to work propertly!'
end
|