Class: RocketFuel::Fix::RbenvFix

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

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



15
16
17
18
19
20
21
# File 'lib/rocket_fuel/fix/rbenv_fix.rb', line 15

def message
  'Rocket Fuel installs a ruby version manager, chruby, which will ' +
  'not play nicely with rbenv. To remove it, you can invoke the command ' +
  '`rm -rf ~/.rbenv && rm -rf /usr/local/var/rbenv`. ' +
  'Note that once Rocket Fuel has installed successfully, ' +
  'you will likely have to reinstall ruby gems previously installed.'
end

#titleObject



11
12
13
# File 'lib/rocket_fuel/fix/rbenv_fix.rb', line 11

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