class RocketFuel::Fix::CommandLineToolFix

Public Instance Methods

message() click to toggle source
# File lib/rocket_fuel/fix/command_line_tool_fix.rb, line 17
def message
  'Installing Ruby requires a C compiler. For the Mac, Apple provides ' +
  'a package known as "Command Line Tools" which includes a C compiler. ' +
  'Most of the time running `xcode-select --install` will get the job done.'
end
run() click to toggle source
# File lib/rocket_fuel/fix/command_line_tool_fix.rb, line 9
def run
  system('xcode-select --install')
end
title() click to toggle source
# File lib/rocket_fuel/fix/command_line_tool_fix.rb, line 13
def title
  'Command Line Tools must be installed for you to install ruby!'
end