% node -v
v0.4.8
% rails -v
Rails 3.1.0
% rails new foo
% cd foo
% vi app/assets/stylesheets/foo.css.scss
body {
background: image-url("rails.png");
}
% rake assets:precompile
rake aborted!
rails.png isn't precompiled
(in /Users/komagata/tmp/foo/app/assets/stylesheets/foo.css.scss)
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
何故だろう?
とりあえずはconfig/environments/production.rb
をconfig.assets.compile = true
追記:
rails3.1のバグでした。3.1.1を待て。