Reputation: 7337
I have strange problem. After running rails s
on some project, the script hangs with no output and no logs. How can I debug it and inspect what's going on? I use rvm with ruby 1.9.2.
Upvotes: 3
Views: 1600
Reputation: 611
If you want to dig a big deeper, you can use utilities such as "strace" or "dtruss" to see what files are being opened.
Linux:
$ strace rails s
Mac:
$ sudo dtruss rails s
You might not know what all of the output means, but you might get an idea if something is missing.
Upvotes: 0
Reputation: 8058
check log/production.log
to find the last file or line of code executed and try to figure out what went wrong.
Upvotes: 1