-
Postgres 9.4 via Homebrew on macOS
I needed to run an old version of Postgres in order to be supported by the version of Rails I was working with, and I had a new Mac with High Sierra installed. Found out after a bit of “Why doesn’t this postgres formula link its executables?” that it was precisely because of the age…
-
How safe is an MD5 hash of a plain password?
First of all, I hope that you’ve moved beyond MD5 hashes and hashing passwords by themselves, adding salts, etc., but I do recall systems in which an MD5 hash of a password by itself was “good enough”. You can look up some md5 hashes on this md5 cracker page. I found many two word combinations…
-
Bundler gave the error “Could not find {some gem} in any of the sources”, processing Gemfile in wrong directory
Problem I was persistently getting the error: Bundler gave the error “Could not find json-1.8.1 in any of the sources” while processing “/Users/tpowell/projects/some_other_project/Gemfile”. Perhaps you forgot to run “bundle install”? While trying to fix a bug in paperclip_database that was similar to Paperclip Gerenator – No Method Error in paperclip I eventually found an issue…