lib/journeyman/load.rb
def root_path
      defined?(Rails) && Rails.root ||
      defined?(Sinatra::Application) && Pathname.new(Sinatra::Application.root) ||
      defined?(ROOT_DIR) && Pathname.new(ROOT_DIR)
    end
def root_path
      defined?(Rails) && Rails.root ||
      defined?(Sinatra::Application) && Pathname.new(Sinatra::Application.root) ||
      defined?(ROOT_DIR) && Pathname.new(ROOT_DIR)
    end
Internal: Returns the root path of the project
 TODO: Extract Rails and Sinatra integration.