It makes a template path kind of /Users/yourname/yourproject/Users/username/yourproject/source/_favicon_template.png, and causes No such file or directory error.
I think it is a regression. Can you please consider a fixing soon? I am sure I will send a pull request when I have time though.
After updating to
v4.0.5
, my builds always fail.I've found the changes in 6a4f8a9554bef044a638815579c18d47ae98c35d break builds when you do not configure
template_dir
option.According to the readme,
template_dir
is optional. However, if it is missed,source_path
is set as a default value: https://github.com/follmann/middleman-favicon-maker/blob/d9b87813b17f8942622b7523d829c1d2bd9d9145/lib/middleman-favicon-maker/extension.rb#L13It makes a template path kind of
/Users/yourname/yourproject/Users/username/yourproject/source/_favicon_template.png
, and causesNo such file or directory
error.I think it is a regression. Can you please consider a fixing soon? I am sure I will send a pull request when I have time though.