class Raykit::Environment

def self.root_dir

otherwise defaults to the user home directory
May be set using the environment variable DEV_ROOT,
The root directory for the development environment.
def self.root_dir
  if ENV["DEV_ROOT"].nil?
    config = Raykit::Configuration.new
    if (config.root_dir.nil? || config.root_dir.empty?)
      root = Environment.home_dir + File::SEPARATOR + "code"
    else
      root = Environment.home_dir + File::SEPARATOR + config.root_dir
    end
  else
    root = ENV["DEV_ROOT"].gsub("\\", "/").chomp("/")
    normalize_path(root)
  end
end