That is too old. Follow the official guide to install Discourse and you will have a working Discourse running 2.4.0. To run with RDS follow Configure Discourse to use a separate PostgreSQL server.
5 Likes