Hey guys, maybe my question is a bit silly here but it seems like i cant get it to work:
This command: RAILS_ENV=test bundle exec rake db:create db:migrate throws this one -
No connection to db, unable to retrieve site settings! (normal when running db:create)
i know it says its normal, but when i follow up with: bundle exec rake autospec i get something like that:
No connection to db, unable to retrieve site settings! (normal when running db:create) An error occurred while loading ./spec/components/scheduler/defer_spec.rb. Failure/Error: SeedFu.seed PG::ConnectionBad: FATAL: sorry, too many clients already
Its running endless and have to stop it with ctrl c. I dont really know where the error is, but it seems pretty hard to set it up on High Sierra.
High Sierra 10.13.6 ruby 2.5.1p57 Redis server v=4.0.11 psql (PostgreSQL) 10.5
Is there a current guide for the set up with vagrant, which is not deprecated?
I would be very grateful for quick help, because I would like to develop plug ins for discourse in the future.
running the script also throws this error, dont know if that occurs cause i run it a second time or if it is part of the issue:
imagemagick@6 6.9.10-10 is already installed and up-to-date To reinstall 6.9.10-10, run `brew reinstall imagemagick@6` Linking /usr/local/Cellar/imagemagick@6/6.9.10-10... Error: Could not symlink bin/Magick++-config Target /usr/local/bin/Magick++-config is a symlink belonging to imagemagick. You can unlink it:brew unlink imagemagick