gregbell/active_admin — Issue #895: ActionView::Template::Error (no such file to load -- uglifier   (in /var/rails/activeadmin/app/assets/javascripts/active_admin.js))
Author: dbrandonjohnson
Created: 2012-01-05 17:46:15+00:00
State: open

I'm trying to get active admin up and running using passenger/apache, I was having the problem with the pre-compiled CSS and I'm no longer having that problem after I changed config.assets.compile to true. Now I'm getting the error in the title below is the complete log when I hit the server.

Started GET "/admin/login" for 192.168.1.62 at 2012-01-05 09:29:28 -0700
Processing by ActiveAdmin::Devise::SessionsController#new as HTML
Rendered /var/lib/gems/1.9.1/gems/devise-1.5.3/app/views/devise/shared/_links.erb (1.1ms)
Rendered /var/lib/gems/1.9.1/gems/activeadmin-0.3.4/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (50.3ms)
Compiled active_admin.css (470ms) (pid 25807)
Compiled active_admin.js (0ms) (pid 25807)
Compiled active_admin/base.js (0ms) (pid 25807)
Compiled active_admin/vendor.js (0ms) (pid 25807)
Completed 500 Internal Server Error in 685ms

ActionView::Template::Error (no such file to load -- uglifier
(in /var/rails/activeadmin/app/assets/javascripts/active_admin.js)):
9: <%= stylesheet_link_tag path %>
10: <% end %>
11: <% ActiveAdmin.application.javascripts.each do |path| %>
12: <%= javascript_include_tag path %>
13: <% end %>
14:
15: <%= csrf_meta_tag %>

Any suggestions would be appreciated.

Thanks
Brandon