Rails and Computer Troubles

Tristan Hawes
2 min readAug 23, 2021

So, throughout my time at Flatiron, my computer has had some rather perplexing issues and errors that I had to find workarounds for, such as not permitting me to create a new project from scratch due to a missing component that I had manually reinstalled several times in an attempt to fix said error, eventually working around it by taking one of the lessons and just erasing anything I did not need and rebuilding it as a project. Sadly, this weekend my computer decided to create an issue that I do not understand how to fix, despite my best attempts at searching for an answer or solution.

This new error that I hit is that now, on any of the projects I previously used rails in, I receive only the following error:

The perplexing part of this, is that up until this past Sunday Morning, I had not encountered this error, and could not find what changed. This error is encountered whenever I attempt a rails db: command of any sort, as well as any form of Fetch request passed through it by the code. All of the fixes that I was able to locate state that I needed to reinstall postgresql, and I attempted to do that. When that failed I tried to uninstall and reinstall it, though several sources said I had to remove it from my “/usr/local/var/log/postgres.log” file, the issue is, my computer does not have a ‘var’ file in local, so I again looked for other solutions.

None of the solutions I found could help, several used a command, ‘brew’ that my system refused to use, and that I had never used nor needed to use before for any of the coding I have been doing on my system for the past several months. I have become thoroughly stumped and rather annoyed at my computer and my clear ineptitude at solving what seems like it should be a simple problem. If anyone happens to read the blabbers of this random student and knows a potential fix, I would greatly appreciate the assistance, as not being able to access or use the apps I created using rails has hindered my ability to further improve and learn from them.

Thank you for your time, and possibly your help, Tristan Hawes.

--

--

Tristan Hawes
0 Followers

An up and coming programmer currently still learning the ropes from Flatiron.