Tag: ruby

  • what is a Unicode U+FEFF character The…

    “what is a Unicode U+FEFF character? The client isn’t generating this themselves and it isn’t visible on the file itself. Do you [have] any guesses on how this is being generated?” Aha! https://www.freecodecamp.org/news/a-quick-tale-about-feff-the-invisible-character-cd25cd4630e7/ U+FEFF is a “Zero Width No-Break Space” but it’s also a byte order mark (for UTF-16?) if at the beginning of the…

  • RSpec::Mocks::VerifyingMessageException does not implement method

    Why is my code trying to call RSpec::Mocks::VerifyingMessageException?

  • 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…