Ensure snippets directory exists in rakefile before running pjax script