Class: RocketFuel::Fix::MacportsFix

Inherits:
FileSanitizerFix show all
Defined in:
lib/rocket_fuel/fix/macports_fix.rb

Constant Summary collapse

UNINSTALL_URL =
'https://guide.macports.org/chunked/' +
'installing.macports.uninstalling.html'

Instance Method Summary collapse

Methods inherited from FileSanitizerFix

files_to_remove, remove_file, #run

Methods inherited from AbstractFix

#check, fix_name, fix_name_value, register!

Instance Method Details

#messageObject



28
29
30
31
32
33
# File 'lib/rocket_fuel/fix/macports_fix.rb', line 28

def message
  'Rocket Fuel installs a package manager, homebrew, which will ' +
  'not play nicely with macports. You can follow uninstallation ' +
  "instructions at #{UNINSTALL_URL}" +
  'to remove macports.'
end

#titleObject



24
25
26
# File 'lib/rocket_fuel/fix/macports_fix.rb', line 24

def title
  'macports must be removed for Rocket Fuel to function properly'
end