How to suppress Ruby Rake warnings in test output on CircleCI

ruby
how-to

#1

As of Rake 11, Ruby warnings are turned on by default.

This can lead to lots of warnings in the output.

To turn this off you can set RUBYOPT=W0 env var as follows on CircleCI:

machine:
  environment:
    RUBYOPT: W0

#2