ruby - ActionView::Template::Error (application.css isn't precompiled) Rails -
i'm getting below in production server:
started "/" 101.160.190.206 @ 2013-09-05 00:11:28 +1000 processing homecontroller#index html rendered home/index.html.erb within layouts/application (0.5ms) completed 500 internal server error in 2ms actionview::template::error (application.css isn't precompiled): 4: <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5: <title><%= content_for?(:title) ? yield(:title) : "tools" %></title> 6: <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "tools" %>"> 7: <%= stylesheet_link_tag "application", :media => "all" %> 8: <%= javascript_include_tag "application" %> 9: <%= csrf_meta_tags %> 10: <%= yield(:head) %> app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__153052184121312410_16560580' i ran rake assets:precompile , seems compile correctly can see in assets file i'm still getting
we're sorry, went wrong. error.
i'm not sure went wrong...
if haven't modified application.css should included default assets, try running:
rails_env=production rake assets:precompile instead of
rake assets:precompile which takes default environment default development. @ least 'issue' i've faced several weeks ago, maybe it's same in case.
Comments
Post a Comment