Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

POW Error - Rails

For some reason, one of my apps won't work with pow.

I set the symlink fine...to my app, and the app shows up as linked.

curl get.pow.cx | sh
cd ~/.pow
ln -s ~/desktop/rails_project/myaccountdeck/myaccountdeck

But then I get this error:

Error: unknown process error
Error: unknown process error
    at Process.<anonymous> (/Users/me/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/process.js:116:38)
    at Socket.<anonymous> (/Users/me/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/process.js:3:63)
    at Socket.emit (events.js:67:17)
    at Pipe.onread (net.js:367:14)

The weird part is, localhost works and my other apps work...

Any idea what might be causing this?

like image 363
user749798 Avatar asked Feb 18 '23 21:02

user749798


1 Answers

It was pointed out in the comments, but to make it perfectly clear: In case of errors like this

rails s

is your friend. It will run your app using WEBrick (instead of pow) and you will almost certainly see errors that prevent your app from starting up (as console output).

like image 50
Alexander Presber Avatar answered Feb 26 '23 18:02

Alexander Presber