user749798
user749798

Reputation: 5370

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?

Upvotes: 4

Views: 1749

Answers (1)

Alexander Presber
Alexander Presber

Reputation: 6635

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).

Upvotes: 8

Related Questions