0
我無法讓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
的另一途徑是將有低吼遠程收到通知,但我甚至不知道從哪裏開始...
有什麼建議嗎?