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

  • SEARCH
  • Home
  • 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 7435951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:09:40+00:00 2026-05-29T10:09:40+00:00

Trying to test deploy a simple Rails 3.1 app in production mode, using the

  • 0

Trying to test deploy a simple Rails 3.1 app in production mode, using the asset pipeline, after precompiling the assets. Using JRuby and WEBrick 1.3.1 for now; the plan is to deploy next on JBoss.

Everything works fine running in development environment, but in production it raises RoutingError when the client requests any precompiled asset.

The Rails server log looks like:

Started GET “/assets/application-a04f15ca8cb6078896dbdc22266757d9.css”
for 127.0.0.1 at 2012-02-06 18:19:04 -0500

ActionController::RoutingError (No route matches [GET]
“/assets/application-a04f15ca8cb6078896dbdc22266757d9.css)

The precompiled assets are in the applications public/assets directory.

Should I expect WEBrick to be able to handle /public/assets? or can I only test that when deployed on Apache or such?

Any help would be greatly appreciated.

  • 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-29T10:09:41+00:00Added an answer on May 29, 2026 at 10:09 am

    The answer is at No route matches [GET] /assets

    It makes sense. Rails in production mode doesn’t serve static assets by default, leaving that to the deployment server. You can configure rails to serve static assets by setting config.serve_static_assets to true (though you probably get better performance leaving it as false)

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

Sidebar

Related Questions

I'm trying to deploy a simple Ruby on Rails app to dreamhost but I'm
I am trying to deploy my app on Rails for the first time using
Im trying to test my successfully creates a new user after login (using authlogic).
I'm trying to create reports that I could deploy in different environments (test, production)
I'm trying to deploy a small rails3 app to a FreeBSD host using capistrano
I'm new to Heroku. I tried pushing a simple test Rails 3.1.1 app to
I am trying to deploy a test app to Heroku --stack cedar but every
I'm trying to test a client/server application, and using Maven to handle the build/test/deploy.
I am trying to deploy a test ASP.NET MVC site to a site hosted
I'm trying to test the functionality of a web app by scripting a login

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.