gregbell/active_admin — Issue #770: Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError: active_admin.css isn't precompiled
Author: joemsak
Created: 2011-11-21 15:15:01+00:00
State: open

This morning, I was having the issue with Sass-Rails as described here

https://github.com/rails/sass-rails/issues/38

You can see in the comment thread that the solution was to move sass-rails out of group :assets

And now I am getting this error when I go to /admin on my staging site:

Error Message:
Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError: active_admin.css isn't precompiled

Where:
active_admin/devise/sessions#new
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb, line 146

URL:
http://[URL]/admin/login

Parameters:
{"action"=>"new", "controller"=>"active_admin/devise/sessions"}

Full trace:
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb:146:in `digest_for'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb:154:in `rewrite_asset_path'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/asset_paths.rb:27:in `compute_public_path'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb:56:in `asset_path'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb:49:in `block in stylesheet_link_tag'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb:43:in `collect'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/sprockets/helpers/rails_helper.rb:43:in `stylesheet_link_tag'
vendor/bundle/ruby/1.9.1/gems/activeadmin-0.3.4/app/views/layouts/active_admin_logged_out.html.erb:9:in `block in _vendor_bundle_ruby_______gems_activeadmin_______app_views_layouts_active_admin_logged_out_html_erb__3893176626380096514_38522900'
vendor/bundle/ruby/1.9.1/gems/activeadmin-0.3.4/app/views/layouts/active_admin_logged_out.html.erb:8:in `each'
vendor/bundle/ruby/1.9.1/gems/activeadmin-0.3.4/app/views/layouts/active_admin_logged_out.html.erb:8:in `_vendor_bundle_ruby_______gems_activeadmin_______app_views_layouts_active_admin_logged_out_html_erb__3893176626380096514_38522900'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/template.rb:171:in `block in render'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/notifications.rb:55:in `instrument'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/template.rb:169:in `render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/template_renderer.rb:52:in `render_with_layout'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/template_renderer.rb:12:in `block in render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/template_renderer.rb:9:in `render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_view/renderer/renderer.rb:17:in `render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/rendering.rb:120:in `_render_template'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/streaming.rb:250:in `_render_template'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/rendering.rb:114:in `render_to_body'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/rendering.rb:99:in `render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/rendering.rb:16:in `render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/usr/local/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
vendor/bundle/ruby/1.9.1/gems/devise-1.5.0/lib/devise/controllers/scoped_views.rb:28:in `render_with_scope'
vendor/bundle/ruby/1.9.1/gems/devise-1.5.0/app/controllers/devise/sessions_controller.rb:10:in `block in new'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/responder.rb:231:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/responder.rb:231:in `default_render'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/responder.rb:160:in `to_html'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/responder.rb:153:in `respond'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/responder.rb:146:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/mime_responds.rb:238:in `respond_with'
vendor/bundle/ruby/1.9.1/gems/devise-1.5.0/lib/devise/controllers/internal_helpers.rb:148:in `respond_with_navigational'
vendor/bundle/ruby/1.9.1/gems/devise-1.5.0/app/controllers/devise/sessions_controller.rb:10:in `new'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/base.rb:167:in `process_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/callbacks.rb:443:in `_run__2707105557992989916__process_action__369551130250321318__callbacks'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/rescue.rb:17:in `process_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/notifications.rb:53:in `block in instrument'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/notifications.rb:53:in `instrument'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/base.rb:121:in `process'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/abstract_controller/rendering.rb:45:in `process'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal.rb:193:in `dispatch'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_controller/metal.rb:236:in `block in action'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/routing/route_set.rb:65:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/routing/route_set.rb:29:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/routing/mapper.rb:41:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in `optimized_each'
vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
vendor/bundle/ruby/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/routing/route_set.rb:532:in `call'
vendor/bundle/ruby/1.9.1/gems/sass-3.1.10/lib/sass/plugin/rack.rb:54:in `call'
vendor/bundle/ruby/1.9.1/gems/warden-1.1.0/lib/warden/manager.rb:35:in `block in call'
vendor/bundle/ruby/1.9.1/gems/warden-1.1.0/lib/warden/manager.rb:34:in `catch'
vendor/bundle/ruby/1.9.1/gems/warden-1.1.0/lib/warden/manager.rb:34:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/etag.rb:23:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/conditionalget.rb:25:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/head.rb:14:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/flash.rb:247:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:195:in `context'
vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/session/abstract/id.rb:190:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/cookies.rb:331:in `call'
vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.2/lib/active_record/query_cache.rb:64:in `call'
vendor/bundle/ruby/1.9.1/gems/activerecord-3.1.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/sendfile.rb:101:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.2/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
vendor/bundle/ruby/1.9.1/gems/railties-3.1.2/lib/rails/rack/logger.rb:13:in `call'
vendor/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/methodoverride.rb:24:in `call'