You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: environment.rb
    path of file: ./repos/teaspoon/lib/teaspoon
    
    the code of the file until where you have to start completion: require "teaspoon/exceptions"

module Teaspoon
  module Environment
    def self.load(options = {})
      load_rails
      Teaspoon.abort("Rails environment not found.", 1) unless rails_loaded?

      require "teaspoon"
      require "teaspoon/server"
      requir
    
      def self.find_env(override = nil)
        override ||= ENV["TEASPOON_ENV"]
        env_files = override && !override.empty? ? [override] : standard_environments

        env_files.each do |filename|
          file = File.expand_path(filename, Teaspoon.root)
          ENV["TEASPOON_ENV"] = file if override
          return file if File.exist?(file)
        end

        raise Teaspoon::EnvironmentNotFound.new(searched: env_files.join(", "))
      end