3 ms·
If he is running under Pow, there's no reason to be running 'script/server' or 'rails server'. That's what Pow does for you. As with nearly all Rack applicatio
by uxp 14y ago
If he is running under Pow, there's no reason to be running 'script/server' or 'rails server'. That's what Pow does for you.
As with nearly all Rack application servers I know of, you can simply restart the application by creating/updating 'tmp/restart.txt' from your Rails root. Unix's `touch` command does this nicely. With Pow specifically, you can also create '~/.pow/restart.txt' (or '~/Library/Application Support/Pow/Hosts/restart.txt', since it's the same location) and that will force Pow to reload itself.
- jbrooksuk 14y agoI didn't know abut 'restart.txt' that's awesome! Also, I've tried that and I'm still getting the same old "Action Controller: Exception..." error. Specifically I have a MySQL error, yet no 'better_errors' showing. I've already executed 'bundle install' too.
- jwilliams 14y agoIf you just want to restart a single pow app - in the directory of the rails app run `touch tmp/restart`.