RSpec does not provide a way to do this.  Ruby controls its warnings, and
controls where it goes.  You can redirect $stderr to a file or other IO
using `$stderr.reopen(file_or_io)`.

HTH,
Myron

On Wed, Sep 6, 2017 at 12:43 AM, JQN <[email protected]> wrote:

> 0 Is it possible to direct warnings to a different stream than the
> default error stream? I can see there is a configuration option for
> deprecation_warnings  to be able to output to a different stream but i
> would like to do this for all warnings
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#%21forum/rspec>
>
> --
> You received this message because you are subscribed to the Google Groups
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/rspec/2c531e38-0a04-4965-be5c-329dc3d0270c%40googlegroups.com
> <https://groups.google.com/d/msgid/rspec/2c531e38-0a04-4965-be5c-329dc3d0270c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/CADUxQmu-HM9KLfHKhHQrAzHQ9%2BM7LU9iHdg41JV4fafiDdgL0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to