ビルドエラー: discourse は sprockets 経由での scss/sass ファイルコンパイルに対応していません

If you want people who are not sitting at your computer to use it, you want a production install. If you can’t increase your swap to at least 2GB (which you should be able to do) then you’ll need to use a different VM.