Sha256: 8d68b92e5a6a529eb927c5bd0680367073295e3ecf3b162b782cc8d65a5ebd23

Contents?: true

Size: 727 Bytes

Versions: 10

Compression:

Stored size: 727 Bytes

Contents

require 'rocket_fuel/fix/file_sanitizer_fix'

module RocketFuel
  module Fix
    class RvmFix < FileSanitizerFix
      fix_name :rvm
      register!

      remove_file RocketFuel::Precheck::RvmCheck.home_path
      remove_file RocketFuel::Precheck::RvmCheck.global_path

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

      def message
        'Rocket Fuel installs a ruby version manager, chruby, which will ' +
        'not play nicely with RVM. To remove it, you can invoke the command ' +
        '`rvm implode`. Note that once Rocket Fuel has installed successfully, ' +
        'you will likely have to reinstall ruby gems previously installed.'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rocket_fuel-0.2.0 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.1.0 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.8 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.7 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.6 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.5 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.4 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.3 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.2 lib/rocket_fuel/fix/rvm_fix.rb
rocket_fuel-0.0.1 lib/rocket_fuel/fix/rvm_fix.rb