I'm doing Michael Hartl's Rails Tutorial book this weekend and I wanted to get the notifications right. Took me a while to get it to work. Since this is a fresh install of Ubuntu 11.10 Oneiric Ocelot I'm running into a few issues. I'm running ruby 1.9.2 using rvm since Ubuntu only included 1.9.1. I'm also using the Gnome 3 Shell as I prefer it to Unity. 1) The first issue was that the execjs gem that is installed by default by Rails 3.1 requires the Spider Monkey Javascript engine to be installed in Ubuntu. ( sudo apt-get install libmozjs185 libmozjs185-dev or use Synaptic and search for "spidermonkey" which is what I did ). Or you can comment it out of your Gemfile as it doesn't seem to affect anything in the tutorial. 2) The second issue was that I wanted the nice Growl-like notifications for autotest . The instructions on the automate everything website got me there but don't install the gem 'redgreen' it's buggy. Here is ...
© David Acevedo