Just started to adapted to rails 3.1, I started to write coffeescript and sass and everything works fine in development. When I run the server in production, I only get:
Check that you have the pipeline turned on in application.rb:
config.assets.enabled = true
Are you using the correct helper methods for writing the tags? The helper methods should not have the /styleheets and /javascript in the path. Like this (inside erb):
javascript_include_tag "application" stylesheet_link_tag "application"
You will also need to run the precompile task as part of the deploy processs to create the files, since you've set compile to false.
The asset pipeline guide shows how to set this up with capistrano.