This issue seems to have been fixed in Rails RC5. Add this line to
your Gemfile.

gem 'rails', '3.1.0.rc5'

We don't have to override the version of sprockets now. The version
that is picked up by default is sprockets-2.0.0.beta.12, which seems
to contain a fix.

On Jun 21, 12:35 pm, Matt Smart <[email protected]> wrote:
> Hello!
>
> I'm really not sure what the change was the broke it, but rails
> 3.1.0.rc4 with the version of sprockets that just got tagged today
> (2.0.0.beta.11) no longers works with the assets pipeline. I get the
> following errors in my server logs:
>
> -----
> Started GET "/assets/application.css" for 127.0.0.1 at 2011-06-21
> 15:23:44 -0400
> Served asset /application.css - 404 Not Found (0ms)
>
> ActionController::RoutingError (No route matches [GET] "/assets/
> application.css"):
> -----
> and
> -----
> Started GET "/assets/application.js" for 127.0.0.1 at 2011-06-21
> 15:23:44 -0400
> Served asset /application.js - 404 Not Found (0ms)
>
> ActionController::RoutingError (No route matches [GET] "/assets/
> application.js"):
> -----
>
> putting the following line in my Gemfile seems to fix the problem:
>
>   gem 'sprockets', '= 2.0.0.beta.10'
>
> Maybe someone has an idea of what part of sprockets 2.0.0.beta.11
> broke things?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to