Hey everyone. When I run jekyll build or gulp locally I don’t get any errors. However, I get a couple errors when I try to deploy to Digital Ocean using this method:
The first error I get is: Deprecation: The 'plugins' configuration option has been renamed to 'plugins_dir'. Please update your config file accordingly.
I also get an error indicating that the jekyll-assets plugin isn’t working quite right: Liquid Exception: Liquid syntax error (line 12): Unknown tag 'asset' ... included in /_layouts/default.html
If I had to guess, you have different versions of Jekyll (and friends) running locally vs. on the server. The fact that you’re getting a deprecation warning about plugins is your first clue.
If you’re not using a Gemfile locally and on the server you might want to. That will keep your gems in check and help enforce that you’re using the same versions in both environments.
The only difference will be prepending Jekyll commands with bundle exec… eg. bundle exec jekyll serve