Exporting tasks to files for ruby