require "boxen/preflight"

class Boxen::Preflight::RVM < Boxen::Preflight
  def run
    warn "You have an rvm installed in ~/.rvm.",
      "The Setup uses rbenv to install ruby, so consider `rvm implode`ing"
  end

  def ok?
    !File.exist? "#{ENV['HOME']}/.rvm"
  end
end

require "boxen/preflight"

class Boxen::Preflight::RVM < Boxen::Preflight
  def run
    abort "You have an rvm installed in ~/.rvm.",
      "The Setup uses rbenv to install ruby, so please `rvm implode`"
  end

  def ok?
    !File.exist? "#{ENV['HOME']}/.rvm"
  end
end

Abort if RVM is found
Abort if RVM is found
