I used Ruby on Rails on Red Hat server. When I trying to generate a controller file, I got this error:
[ec2-user@ip-172-31-22-128 testApp4]$ rails generate
It needs ownership to write the re-write the pid for each server start.
I had to run it with my full local path & sudo
$ sudo chmod -R 777 /Users/MyName/Desktop/projects/my_project/tmp/