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 8301645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:03:24+00:00 2026-06-08T17:03:24+00:00

This is the error that I am getting when deploying my Ruby on Rails

  • 0

This is the error that I am getting when deploying my Ruby on Rails web application (with Jetty):

2012-07-17 13:11:25,595,INFO,service.nav.server - An exception happened during JRuby-Rack startup
Could not find root path for #<Usermanagement::Engine:0x302abefe>

--- Backtrace
RuntimeError: Could not find root path for #<Usermanagement::Engine:0x302abefe>
find_root_with_flag at file:/tmp/Jetty_0_0_0_0_2525_ui.0.0.1.SNAPSHOT.war____d9z055/webapp/WEB-INF/lib/gems.jar!/gems/railties-3.1.3/lib/rails/engine.rb:599
config at file:/tmp/Jetty_0_0_0_0_2525_ui.0.0.1.SNAPSHOT.war____d9z055/webapp/WEB-INF/lib/gems.jar!/gems/railties-3.1.3/lib/rails/engine.rb:479
railties at file:/tmp/Jetty_0_0_0_0_2525_ui.0.0.1.SNAPSHOT.war____d9z055/webapp/WEB-INF/lib/gems.jar!/gems/railties-3.1.3/lib/rails/engine.rb:423
initializers at file:/tmp/Jetty_0_0_0_0_2525_ui.0.0.1.SNAPSHOT.war____d9z055/webapp/WEB-INF/lib/gems.jar!/gems/railties-3.1.3/lib/rails/engine.rb:473
....

Usermanagement is a locally built gem in the form of a Rails Engine. It is an isolated mountable engine – Usermanagement being the isolated namespace. The gem is built with Rails 3.1.3

Checked the gems.jar file in the built WAR and the usermanagement gem is there, as well as it’s required stuff like the config directory and lib directory.

I’m having troubles finding a specific commit that makes this break. It seems more like it might be an environment issue.

Any advice is welcome!

  • 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-06-08T17:03:37+00:00Added an answer on June 8, 2026 at 5:03 pm

    So apparently, this error was actually being caused by having .class files included in the Usermanagement gem.

    Due to permission requirements on our build server, we had the build process installing gems to a local folder – i.e. project-name/gems/gems

    This was all good and fine, however, then Warbler is being used to build the war file, and Warbler creates class files from all .rb files which it finds in the project directory – BEFORE creating the gems.jar file. Thus, we ended up with .class files inside the gems.jar archive.

    I am somewhat still at a loss as to why having the class files breaks everything – however, not having them does fix everything 🙂

    Solution

    Told Warbler to not include the gems directory in the webapp: (in warbler.rb)

    config.dirs = %w(app config lib log tmp)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting this error when deploying application WAR files from my ant build via
Im getting this linker error that won't let me compile. It only happens on
I am getting this error on a js function that sends an ajax request
I am getting this error while i am trying to upload a database that
I am getting this error when I include an opensource library that I had
We're getting this error once a day on a script that runs every two
I am getting this error, but it isn't very helpful in that it doesn't
I've created a singleton class that loads a plist. I keep getting this error
So I keep getting this error that when I Google for it, the most
So, I'm a bit confused on this error that I'm getting while compiling/linking a

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.