class Boxen::Postflight::Active

Checks to see if the basic environment is loaded.

Public Instance Methods

ok?() click to toggle source
# File lib/boxen/postflight/active.rb, line 7
def ok?
  Boxen::Util.active?
end
run() click to toggle source
# File lib/boxen/postflight/active.rb, line 11
def run
  warn "You haven't loaded Boxen's environment yet!",
    "To permanently fix this, source #{config.envfile} at the end",
    "of your shell's startup file."
end