to install active_admin – I updated my gems, did
rails generate active_admin:install
rake db:migrate
and then I want to go localhost:3000/admin
and I get this error page
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
Note that the project folder and ruby folder are indeed in different drives (never thought it matters)
Update:
I have found this http://github.com/rails/rails/issues/660 which seems to be the same error with a solution, yet I don’t understand what needs to be done for the error to go away.
Please help 🙂
I use Window XP sp3 to work with Rails
The solution:
Get “Junction.exe”, in Windows Vista used to “mklink”
Create simbolic link
“
Run the myApp
It’s Ok..!!!!