Errno::EACCES: Permission denied on new Ubuntu development setup

Ah, found out! Some files in the Discourse directory were not writable!

chmod -R 777 .