我对我的宝石进行了更新,确实安装了活性——行政。
rails generate active_admin:install
rake db:migrate
之后,我想去当地:3000/admin。
我收到这一错误的页数。
ArgumentError in Active_admin/devise/sessions#new
Showing D:/Ruby192/lib/ruby/gems/1.9.1/gems/activeadmin-0.3.2/app/views/layouts/active_admin_logged_out.html.erb where line #9 raised:
different prefix: "D:/" and "C:/project/app/assets/stylesheets"
(in C:/project/app/assets/stylesheets/active_admin.css.scss)
Extracted source (around line #9):
6: <title><%= [@page_title, active_admin_application.site_title].compact.join(" | ") %></title>
7:
8: <% ActiveAdmin.application.stylesheets.each do |path| %>
9: <%= stylesheet_link_tag path %>
10: <% end %>
11: <% ActiveAdmin.application.javascripts.each do |path| %>
12: <%= javascript_include_tag path %>
Rails.root: C:/project
Application Trace | Framework Trace | Full Trace
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
请注意,该项目的夹和碎块确实在不同的驱动力中(无论认为情况如何)
<><>Update:>
见http://github.com/rails/issues/660"rel=“noreferer”http://github.com/rails/issues/660。 这种办法似乎有同样的错误,但我不理解需要做些什么才能消除错误。
请帮助: