我无法让 Rails 自动测试通知在 Engine Yard Vagrant 环境中工作。在 Mac 上,我通常通过 Growl 收到通知。但是,在虚拟环境(运行 Ubuntu)上不起作用。
我尝试运行 Linux 通知设置,例如 libnotify+autotest-notification,但出现以下错误:
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
另一种方法是让 Growl 远程接收通知,但我什至不知道从哪里开始......
有什么建议么?