Ubuntu虚拟环境中的自动测试通知

问题描述:

我无法让Rails自动测试通知在Engine Yard Vagrant环境中工作。在Mac上,我通常通过咆哮获得通知。但是,在运行Ubuntu的虚拟环境中无效。Ubuntu虚拟环境中的自动测试通知

我试图运行Linux的通知设置,如libnotify +自动测试通知,但我得到了以下错误:

libnotify-Message: Unable to get session bus: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. 
** (notify-send:1004): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed 
** (notify-send:1004): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed 
** (notify-send:1004): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed 

的另一途径是将有低吼远程收到通知,但我甚至不知道从哪里开始...

有什么建议吗?

Web服务器将无法访问桌面进行通知。出于安全原因,这通常是件好事。

在咆哮安装程序dmg是一个程序growlnotify,它可以调整到建立在大多数posix-ish系统上,并可以发送远程通知。您还必须将Growl配置为接收远程通知(系统惯性>其他>低吼>网络)。