I can't get the asset pipeline working for some reason. I get a 404 on request to both application.css and application.js. I'm using rails 3.1.0.rc6. Nothing special, just created a new project.
In my layout file:
It's linking to /stylesheets/application.css and same with the js file. I'm using pow but also tried starting the server with webrick.
Note: using sprockets 2.0.0.beta.15
preguntado el 27 de agosto de 11 a las 17:08
Figured it out. I had to make an explicit require call to "sprockets/railtie"
You might find that adding
config.serve_static_assets = true
to your config/environments/xxx.rb will help.