All rails commands hang in terminal

Problem

I run into all rails commands hanging on terminal: migrate, console...

I tried older and newer branches, checked for the local records, killed rails... restarted the computer 👈

Spent some time wondering what might be the cause because a migration was blocking some local testing and I was not able to migrate...

[Insert some time lost here...]

Solution

I ps aux | grep ABC lots of things until I ps aux | grep spring.

There was this process:

lena             31837   0.0  0.1 34315940  12576   ??  S    Mon04PM   0:01.00 spring server | customers-gitlab-com | started 53 hours ago

It was really interesting to me that the process still showed the started 53 hours ago after a restart so I sprint stop and all was back to normal.

Solution: spring stop

Edited by Vladlena Shumilo