Move check to module and add specs
This also changes to use `Kernel.warn` (which goes to stderr) instead of printing to stdout. Also ignore Rails runner env.
Showing
Please register or sign in to comment
This also changes to use `Kernel.warn` (which goes to stderr) instead of printing to stdout. Also ignore Rails runner env.