```ruby
module Kernel
  def debugger(*args)
    RSpec.configuration.error_stream.puts "debugger statement ignored, use -d or --debug option to enable debugging\n#{caller(0)[1]}"
  end
end
```

Make sure the debugger method doesn't stomp on the existing debugger method. Allows RSpec to work better in contexts where rspec runner isn't driving things (like for cucumber).
user
```ruby
module Kernel
  def debugger(*args)
    RSpec.configuration.error_stream.puts "debugger statement ignored, use -d or --debug option to enable debugging\n#{caller(0)[1]}"
  end unless respond_to?(:debugger)
end
```
assistant