Capturing output from rake
Rake has an annoying habit of putting it’s own diagnostic line on the first line of output. You can strip that out with tail.
1 |
rake my_report:xml | tail -n+2 > output.xml |
Rake has an annoying habit of putting it’s own diagnostic line on the first line of output. You can strip that out with tail.
1 |
rake my_report:xml | tail -n+2 > output.xml |