Install discourse on localhost

Right,

I decided to nuke everything and start from scratch. For some reason running:

bundle exec rake autospec

at the end still resulted in the tests failing completely.

So ran:

curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get -y install nodejs
sudo npm install -g svgo

as advised in one of the comments, here - Install Discourse on Ubuntu or Debian for Development - #161 (I had done this previously as well)

Next ran:

RAILS_ENV=test rake db:drop db:create db:migrate

then

bundle exec rake autospec

Now all tests pass!

I feel like I didn’t do anything differently this time, so I’m annoyed as I don’t know what fixed this… Bottom line is I’m now up and running so, I won’t look a gift horse in the mouth.