On my mac compiling coffeescript to javascript was not self evident. I did it by entering rails console or irb and then running the following commands
require 'coffee-script'
res=CoffeeScript.compile File.read("application.coffee")
File.open('application.js', 'w') { |file| file.write(res) }