S3_website fails with the error Summary: ‘There was nothing to push’

This is one of those Troubleshooting problems that can’t be fixed by checking that everything is in order. If you are using the brilliant S3_website gem to push your Jekyll website to an Amazon S3 bucket from the command line you might see the following failure message:

[info] Summary: There was nothing to push

I don’t actually know what causes this problem, but doing the following should fix it:

  1. Stop your local Jekyll server by going to the terminal window where you have it running and press ctrl+c
  2. Start your local Jekyll server in the usual way, but entering bundle exec jekyll serve into terminal and press enter