```ruby
require 'puppet/util/autoload'
require 'puppet/util/log'

Puppet::Util::Log.create({:level => :warning, :source => __FILE__, :message => "\n\n***** Monkey-patching out gem autoload feature *****\n\n"})

Puppet::Util::Autoload.class_eval do
  def self.gem_directories
    []
  end
end
```

Remove newlines from monkey-patch warning
user
```ruby
require 'puppet/util/autoload'
require 'puppet/util/log'

Puppet::Util::Log.create({:level => :warning, :source => __FILE__, :message => "***** Monkey-patching out gem autoload feature *****"})

Puppet::Util::Autoload.class_eval do
  def self.gem_directories
    []
  end
end
```
assistant