https://github.com/cprodhomme/arctic_admin 我已经在gem文件中添加了
gem 'arctic_admin'
在 /app/assets/javascripts/active_admin.js 文件中
//= require arctic_admin/base
在 /app/assets/stylesheets/active_admin.scss 文件中
@import "arctic_admin/base";
在 active_admin.rb 中
meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
config.meta_tags = meta_tags_options
config.meta_tags_for_logged_out_pages = meta_tags_options
在本地主题中正在工作。但在开发环境中我得到了
SassC::SyntaxError in ActiveAdmin::Devise::Sessions#new
Showing /usr/local/bundle/gems/activeadmin-2.12.0/app/views/layouts/active_admin_logged_out.html.erb where line #12 raised:
Error: File to import not found or unreadable: arctic_admin/base.
on line 1:1 of app/assets/stylesheets/active_admin.scss
>> @import "arctic_admin/base";
有人可以帮我吗?