我一直在尝试在MacOS Sierra上安装pow(for Rails),但在给出密码后请求root权限才会挂起。安装Pow for Rails 4在MacOS Sierra上挂起
$ curl get.pow.cx | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9039 100 9039 0 0 28008 0 --:--:-- --:--:-- --:--:-- 30029
*** Installing Pow 0.5.0...
*** Installing local configuration files...
/Users/robertolimon/Library/LaunchAgents/cx.pow.powd.plist
*** Installing system configuration files as root...
Password:
根据目前的资料,它应该显示给密码后,下面几行:
/etc/resolver/dev
/Library/LaunchDaemons/cx.pow.firewall.plist
*** Starting the Pow server...
*** Performing self-test...
*** Installed
所以,我取消了超过35分钟等待之后,我发现它不创建文件/Library/LaunchDaemons/cx.pow.firewall.plist在战俘安装脚本引用:
if [ $NEEDS_ROOT -eq 1 ]; then
echo "*** Installing system configuration files as root..."
sudo "$NODE_BIN" "$POW_BIN" --install-system
if [ "$MAC_OS_MINOR_VERSION" -ge 10 ]; then
sudo launchctl bootstrap system /Library/LaunchDaemons/cx.pow.firewall.plist 2>/dev/null
sudo launchctl enable system/cx.pow.firewall 2>/dev/null
sudo launchctl kickstart -k system/cx.pow.firewall 2>/dev/null
else
sudo launchctl load -Fw /Library/LaunchDaemons/cx.pow.firewall.plist 2>/dev/null
fi
fi
任何想法来解决这个问题? 如何或在哪里可以得到这个文件?
感谢
12月30日在'16 20:32
在这个问题上仍在工作,我发现剧本被卡住以下行:
sudo "$NODE_BIN" "$POW_BIN" --install-system
在我的第一条评论中提到的代码块之前。
这些变量的值是:
POW_ROOT="$HOME/Library/Application Support/Pow"
NODE_BIN="$POW_ROOT/Current/bin/node"
POW_BIN="$POW_ROOT/Current/bin/pow"
任何想法来解决这个问题?
感谢
12月30日在'16 23:58
我适用于以下链接的说明进行操作:
http://blog.radi.ws/post/123989557948/running-pow-050-on-os-x-el-capitan-1011-beta
但仍然不能正常工作。
2月20日在'18 09:40
我解决我的Mac上安装一个新的MacOS的塞拉利昂。
你考虑使用'彪马dev'代替'pow'? https://github.com/puma/puma-dev – MikDiet
谢谢。我会去尝试一下。 –