I\'m having trouble setting up ruby on rails on my machine. I\'ve been following the book \"Agile Web Development with Rails\" and up until now everything has been going fine.<
Try this:
$ sudo apt-get install nodejs