可能重复:
activeadmin heroku stylesheet config issue with partial fix
我的主动admin gem存在heroku问题。检查完日志后,我收到以下问题。
2012-03-15T03:23:29+00:00 app[web.1]: /app
2012-03-15T03:23:29+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activeadmin-0.4.0/app/assets/stylesheets
2012-03-15T03:23:29+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: active_admin/mixins.
2012-03-15T03:23:29+00:00 app[web.1]: Load paths:
2012-03-15T03:23:29+00:00 app[web.1]: (in /app/app/assets/stylesheets/active_admin.css.scss)):
2012-03-15T03:23:29+00:00 app[web.1]: 2: <html>
2012-03-15T03:23:29+00:00 app[web.1]: 3: <head>
2012-03-15T03:23:29+00:00 app[web.1]: 4: <title>FbApis</title>
2012-03-15T03:23:29+00:00 app[web.1]: 5: <%= stylesheet_link_tag "application", :media => "all" %>
2012-03-15T03:23:29+00:00 app[web.1]: 6: <%= javascript_include_tag "application" %>
2012-03-15T03:23:29+00:00 app[web.1]: 8: </head>
2012-03-15T03:23:29+00:00 app[web.1]: 7: <%= csrf_meta_tags %>
2012-03-15T03:23:29+00:00 app[web.1]: app/assets/stylesheets/active_admin.css.scss:2
2012-03-15T03:23:29+00:00 app[web.1]: app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___2765708727675805011_44722120'
2012-03-15T03:23:29+00:00 app[web.1]:
2012-03-15T03:23:29+00:00 app[web.1]:
2012-03-15T03:23:29+00:00 app[web.1]: cache: [GET /] miss
答案 0 :(得分:0)
你是否包括:
gem 'sass'
您可以尝试
gem 'sass-rails'
看看是否有帮助......