I get the error when trying to push to github:
remote: Gist does not support directories.
remote: These are the directories that are causing problems:
remote: dirname1, dirname2
Looking at other questions, it seems that github doesn't accept empty folders but none of these folders are empty. I can successfully push other files that are inside the root folder of the repository, and can also successfully deploy the app to heroku using git.
How do I add a directory to github's gist ? What am I doing wrong here ?