You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUBYOPT=-w rake runs all tests with ruby warnings enabled, which are printed out in stderr. They are very noisy, as it shows warnings for every dependency in use alongside the tests output, so they are most useful when filtering only the warnings coming from this gem. We do that redirecting tests stdout to /dev/null (ignoring it), and redirecting stderr to stdout, with the following command:
/.../merit/lib/merit/controller_extensions.rb:50: warning: instance variable @user not initialized
/.../merit/lib/merit/controller_extensions.rb:50: warning: instance variable @user not initialized
/.../merit/test/dummy/app/models/merit/point_rules.rb:39: warning: ambiguous first argument; put parentheses or a space even after `-' operator
Merit should run without any warnings.
The text was updated successfully, but these errors were encountered:
RUBYOPT=-w rake
runs all tests with ruby warnings enabled, which are printed out in stderr. They are very noisy, as it shows warnings for every dependency in use alongside the tests output, so they are most useful when filtering only the warnings coming from this gem. We do that redirecting testsstdout
to/dev/null
(ignoring it), and redirectingstderr
tostdout
, with the following command:The output is:
Merit should run without any warnings.
The text was updated successfully, but these errors were encountered: