ActionView::Template::Error (refinery/blog/ui-lightness/jquery-ui-1.8.13.custom isn't precompiled) #246

Matho opened this Issue Jun 14, 2012 · 4 comments


None yet
4 participants

Matho commented Jun 14, 2012


I'm using Refinery CMS v2.0.4 with Refinery CMS blog v 2.0.4 .
When I want to edit or create new blog post in production mode (I'm using Webrick/Apache ree 1.8.7 2012), I'm getting this error:

Started GET "/refinery/blog/posts/new" for at Wed Jun 13 17:40:32 +0200 2012
Processing by Refinery::Blog::Admin::PostsController#new as HTML
  Parameters: {"locale"=>:sk}
Completed 500 Internal Server Error in 2444ms

ActionView::Template::Error (refinery/blog/ui-lightness/jquery-ui-1.8.13.custom isn't precompiled):
    1: <% content_for :stylesheets, stylesheet_link_tag("refinery/blog/ui-lightness/jquery-ui-1.8.13.custom") %>
    3: <% content_for :javascripts do %>
    4:   <%= javascript_include_tag "" %>
  app/views/refinery/blog/admin/posts/_form.html.erb:117:in `_app_views_refinery_blog_admin_posts__form_html_erb__646410442_91035370'
  app/views/refinery/blog/admin/posts/new.html.erb:1:in `_app_views_refinery_blog_admin_posts_new_html_erb__950382125_88193460'

The file, which is in error log marked as not precompiled is correctly precompiled at public folder.
When I changed the first line in file app/views/refinery/shared/admin/_autocomplete.html.erb <% content_for :stylesheets, stylesheet_link_tag("refinery/blog/ui-lightness/jquery-ui-1.8.13.custom") %> to
<% content_for :stylesheets, stylesheet_link_tag("/assets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom") %> (I changed relative path to absolute assets path) it works without error. It is bug? I'm new in Refinery CMS.



robyurkowski commented Jul 29, 2012

@joemsak Maybe I'm dumb, but why are we using jquery-ui again?


joemsak commented Jul 29, 2012

in admin, for tag auto complete

jquery TagIt would be much better though ; )


parndt commented Nov 24, 2012

Seems like a bad idea to bundle jQuery-ui with the blog extension. Do we need tag auto completion? If we do need it, can't we rely on some jQuery Rails gem to provide this?


robyurkowski commented Nov 24, 2012

+1 on getting rid of jquery-ui for 3.0. Tagit looks really nice.

@parndt parndt closed this Aug 24, 2014

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