Tag: pg

  • pg gem pg-0.18.4 install errors: implicit declaration of function ‘gettimeofday’ is invalid in C99

    Reflexively trying the usual suspects installing pg-0.18.4: https://stackoverflow.com/questions/63182467/not-able-to-install-pg-gem-with-rails Maybe xcode is improperly installed? sudo xcode-select -s /Library/Developer/CommandLineTools Maybe postgresql is improperly installed? brew install postgresqlRunning `brew update –preinstall`… Warning: postgresql 14.2_1 is already installed and up-to-date.To reinstall 14.2_1, run:brew reinstall postgresql ❯ brew reinstall postgresql gem install pg -v ‘0.18.4’ It would have been beneficial […]