No route matches [GET] "/assets/application.js" (same for css) #1194

slbug opened this Issue May 21, 2011 · 4 comments

3 participants


To reproduce just create new app using rails master. It was working a week ago. If you won't be able to reproduce then i'll create test app.

config.assets.enabled = true

ls app/assets/javascripts/

Ruby on Rails member

Master currently binds to 3.1.0.beta1. You need to use --edge or --dev to actually bind the generated app to master.

@dhh dhh closed this May 22, 2011

I've used it. And checked gemfile after.

As i said before it works well a week ago. Now it's broken.


gem 'rails',                 :git => 'git://'
gem 'arel',                  :git => 'git://'
gem 'rack',                  :git => 'git://'
gem 'sprockets',             :git => 'git://'
gem 'rack-cache',            :git => 'git://', :require => 'rack/cache'
gem 'tilt',                  :git => 'git://'
gem 'rack-mount',            :git => 'git://' - testapp


I have this same issue. This was working yesterday and broke --for me-- some time around 10pm last night and is still broken. If i run rails new app, route to a controller, look at page source and click on application.css, i get no route for assets/application.css.


I set up a new gemset and problem solved. Still don't know how it happened. But probably not an issue w/ rails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment