This repository was archived by the owner on May 15, 2020. It is now read-only.

Description
Running the installer on OS X Yosemite 10.10 fails silently at the *** Starting the Pow server... step.
Error
Running the install script via sh -x (curl get.pow.cx | sh -x) reveals that the actual command which fails is the following:
launchctl bootstrap gui/501 /Users/dimitardimitrov/Library/LaunchAgents/cx.pow.powd.plist
The command fails with an exit status of 133. When I run it manually, I get the following output:
/Users/dimitardimitrov/Library/LaunchAgents/cx.pow.powd.plist: Operation already in progress
Port forwarding does not work after that.
Workaround
Restarting the machine activated the port forwarding and now Pow works. However, running the installer again after the restart still produces the same error.
Environment
- I'm upgrading Pow from 0.4.3 to 0.5.0 using the installer script.
- OS is 10.10 Yosemite, upgraded from Mavericks.
- I'm using zsh and rbenv.
- Regular Terminal app, no tmux or iTerm.
Install debug output
Here's an excerpt from running the installer with sh -x (here is the full log as well):
➜ ~ sh -x pow.sh
+ set -e
+ POW_ROOT='/Users/dimitardimitrov/Library/Application Support/Pow'
+ NODE_BIN='/Users/dimitardimitrov/Library/Application Support/Pow/Current/bin/node'
+ POW_BIN='/Users/dimitardimitrov/Library/Application Support/Pow/Current/bin/pow'
+ LATEST_VERSION=0.5.0
(...snip...)
+ NEEDS_ROOT=0
+ '[' 0 -eq 1 ']'
+ echo '*** Starting the Pow server...'
*** Starting the Pow server...
+ '[' 10 -ge 10 ']'
+ launchctl bootstrap gui/501 /Users/dimitardimitrov/Library/LaunchAgents/cx.pow.powd.plist
➜ ~ echo $?
133
➜ ~ launchctl bootstrap gui/501 /Users/dimitardimitrov/Library/LaunchAgents/cx.pow.powd.plist
/Users/dimitardimitrov/Library/LaunchAgents/cx.pow.powd.plist: Operation already in progress
➜ ~ echo $?
133
➜ ~