Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails and Rake commands hang and do nothing at all

I don't know why but when I run rake commands in my rails project, nothing happens. Also rails server does nothing. Any suggestions?

like image 804
Galen King Avatar asked Sep 07 '10 09:09

Galen King


2 Answers

you can add an "ruby -rtracer" to the begining to see where it is hanging.

like image 141
rogerdpack Avatar answered Nov 15 '22 08:11

rogerdpack


The solution for me entailed exiting rails console -sandbox.

I think sandboxing console puts a lock of some sort on the database.

like image 23
Mickey Sheu Avatar answered Nov 15 '22 07:11

Mickey Sheu