in order to use specs for creating automated documentation screenshots of my OSX I would like to run the rake spec command with a specified locale. Something like this:
rake spec files=docu_spec args="-AppleLanguages (en)"
which would be an adaption of the possbility to run a localized version from the Terminal:
./build/MacOSX-10.11-Development/MyApp.app/Contents/MacOS/MyApp -AppleLanguages '(en)'
Any ideas on how to do it are much appreciated! @MarkVillacampa maybe there is a way to add this functionality to the rake command?