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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:16:15+00:00 2026-06-06T16:16:15+00:00

Using Rails 3.2.2 and ruby 1.9.2 and I am not able to serve assets

  • 0

Using Rails 3.2.2 and ruby 1.9.2 and I am not able to serve assets in production. We are running on apache. I’ve read some documentation and set :

config.serve_static_assets = true
config.assets.compile = true

in production.rb, and it doesn’t seem to work. What else can I try? Or how can I get some debug info on where it IS looking.

Also, I went back to development, and went into assets/images and deleted .png files in order to intentionally break things in the development environment, but it didn’t work, the images still show up. There must be some pre-compiling of assets, but where do they get stored, and how would I clear that? thanks

  • 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-06T16:16:17+00:00Added an answer on June 6, 2026 at 4:16 pm

    Usually, if you have Apache in front of your rails server, you would not want your application to compile assets in production. You probably want to pre-compile assets and have Apache serve them.

    Compiled assets are stored in public/assets by default.

    How all this comes together depends on the particulars of your configuration, which you have not shared. I would recommend reading the rails guides on the asset pipeline:

    http://guides.rubyonrails.org/asset_pipeline.html

    and in particular:

    http://guides.rubyonrails.org/asset_pipeline.html#in-production

    It heven has some examples of how to configure Apache.

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

Sidebar

Related Questions

Using Rails 3.1.3 with Ruby 1.9.3p0. I've discovered that by default, Rails does not
I'm using Rails 3.0.0 + passenger + apache2 running on Ruby 1.9.2p290 on an
I'm using Rails 3.2 (not a ruby on rails question) and coming close to
says if i develop a Ruby on Rails application using Rails 2.3.2, will that
Using Rails 3.1.3 and Ruby 1.9.3. I want to give the user a list
I have a deployment using: rails 2.3.2 ruby 1.8.7 mysql db and 3 mongrel
I am using: rails 2.3.5 ruby 1.8.7 and Windows 7 Home Basic I was
I am using rails 3.0.10 and ruby 1.9.2p0 In my rails app I am
I am using: Rails 2.3.5 Ruby 1.8.7 Windows 7 Home basic 64-bit I'm trying
(I'm using Rails 3.2.3 on Ruby MRI 1.9.2) Everything is stored centrally in UTC.

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.