    # File lib/merb-core.rb, line 103
        def merge_env(env,use_db=false)
          if Merb.environment_info.nil?
            Merb.environment_info = {
              :real_env => Merb.environment,
              :merged_envs => [],
              :db_env => Merb.environment
            }
          end

          #Only load if it hasn't been loaded
          unless Merb.environment_info[:merged_envs].member? env
            Merb.environment_info[:merged_envs] << env

            env_file = Merb.dir_for(:config) / "environments" / ("#{env}.rb")
            if File.exists?(env_file)
              load(env_file)
            else
              Merb.logger.warn! "Environment file does not exist! #{env_file}"
            end
          end

          # Mark specific environment to load when ORM loads,
          # if multiple environments are loaded, the last one
          # with use_db as TRUE will be loaded
          if use_db
            Merb.environment_info[:db_env] = env
          end
        end