class Boxen::Preflight::Rbenv

Public Instance Methods

ok?() click to toggle source
# File lib/boxen/preflight/rbenv.rb, line 9
def ok?
  !File.exist? "#{ENV['HOME']}/.rbenv"
end
run() click to toggle source
# File lib/boxen/preflight/rbenv.rb, line 4
def run
  warn "You have an existing rbenv installed in ~/.rbenv.",
    "Boxen provides its own rbenv, so consider deleting yours."
end