Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7532911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:35:23+00:00 2026-05-30T05:35:23+00:00

to install active_admin – I updated my gems, did rails generate active_admin:install rake db:migrate

  • 0

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 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:35:24+00:00Added an answer on May 30, 2026 at 5:35 am

    I use Window XP sp3 to work with Rails

    • The path of my Ruby Installer is C:\Ruby193
    • The path of my project is D:\rails_projects\myApp

    The solution:

    Get “Junction.exe”, in Windows Vista used to “mklink”

    • Download junction.exe
    • Copy Junction.exe to C:\Windows\System32\

    Create simbolic link

    • Write into your console “C:\> junction C:\myApp D:\rails_projects\myApp
      “

    Run the myApp

    • C:\> cd myApp
    • C:\myApp> rails server
    • Go to http://localhost:3000/admin

    It’s Ok..!!!!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having the existing source code in rails 2.3.2, while running rake gems:install
I get this error also if i ran Rails s, or rails generate active_admin:install
I added the twitter-bootstrap-rails gem and did bundle install. Then I went to do:
I install and configure Active Admin to my rails app. It works fine on
I tried to install Vanity gem for my rails 2.3.5 application and I want
I install plugin open_id_authentication and have this error: /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to
On install I want to optionally copy some .ini files from SOURCEDIR to TARGETDIR
We install Matlab Runtime on a machine, then we restart a .net windows service
if i want to install a MSI, created by Visual Studio 2005, via Active
$ script/plugin install git://github.com/rails/exception_notification.git $ ls vendor/plugins/ exception_notification $ cat vendor/plugins/exception_notification/init.rb require action_mailer require

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.