Friday, September 2, 2011

Installing Coffeescript on Ubuntu 11.04

Previous: Ubuntu 11.04 on Dell Vostro - FAIL

Installing Coffeescript turned out to be slightly different than documented on the Coffeescript site at http://opinionated-programmer.com/2010/12/installing-coffeescript-on-debian-or-ubuntu/. This is how I did it:
sudo add-apt-repository ppa:gezakovacs/coffeescript
sudo apt-get update
sudo apt-get install coffeescript
At this point, when I ran coffee it was unable to find nodejs. I searched for help and discovered this is a known bug as of the date of this post: https://bugs.launchpad.net/ubuntu/+source/coffeescript/+bug/777554. The workaround is:
cd ~/bin
ln -s /usr/bin/node nodejs
With that, Coffeescript ran fine.

Next: Installing Coffeescript on Ubuntu 11.04