Autotest notifications on Ubuntu virtual environment

Posted by Luciano on Stack Overflow See other posts from Stack Overflow or by Luciano
Published on 2011-03-12T22:56:01Z Indexed on 2011/03/17 0:10 UTC
Read the original article Hit count: 267

I am having trouble getting Rails autotest notifications to work on the Engine Yard Vagrant environment. On the Mac, I normally get the notifications via Growl. However, on the virtual environment (which runs Ubuntu) that doesn't work.

I tried running Linux notification setups such as libnotify+autotest-notification, but I get the following error:

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

Another path would be to have Growl receive the notifications remotely, but I don't even know where to begin with that...

Any suggestions?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about notifications