    # File lib/phusion_passenger/plugin.rb, line 33
            def self.load(name, load_once = true)
                    PLUGIN_DIRS.each do |plugin_dir|
                            if plugin_dir =~ /\A~/
                                    # File.expand_path uses ENV['HOME'] which we don't want.
                                    home = Etc.getpwuid(Process.uid).dir
                                    plugin_dir = plugin_dir.sub(/\A~/, home)
                            end
                            plugin_dir = File.expand_path(plugin_dir)
                            Dir["#{plugin_dir}/*/#{name}.rb"].each do |filename|
                                    if load_once
                                            require(filename)
                                    else
                                            load(filename)
                                    end
                            end
                    end
            end