Since Rails 3.1 coffeescript has been included with rails, so the first step was removing 'coffee-rails
' from the gemfile. At first I wasn't sure what the issue was and looked up isntalling cofee and nodejs on a debian environment. Then I did the NodeJS 'helloworld' script deploying a server in just a few lines of code