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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:23:41+00:00 2026-06-02T00:23:41+00:00

I am developing a new web application in Rails 3.2. I have come to

  • 0

I am developing a new web application in Rails 3.2. I have come to the point where I am trying to make everything look as nice in IE as Firefox/Chrome etc.

For that I am using CSS3 PIE http://css3pie.com/

However: Because of the way stylesheets are fragmented out in many small files, I now have 64 stylesheet files to load in development mode. This creates a problem in IE, when css3pie.htc tries to dynamically create a new styleshhet. IE only supports 31 concurrent stylesheets.

Is there a way to make Rails always concatenate all stylesheets into application.css? In development.

UPDATE 2012-04-11: I have tried to invoke “rake assets:precompile” on my development machine. But the precompiled stylesheet is still not used. It seems like I need to change some config values, but I do not know which.

Carsten

  • 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-02T00:23:44+00:00Added an answer on June 2, 2026 at 12:23 am

    It sounds like your asset pipeline is in debug mode, so you’ll want to turn that off.You should have a <AppDir>/config/environments/development.rb file. In that file, try to find the following line.

    ServerPrototype::Application.configure do
        ...
        config.assets.debug = true
        ...
    end
    

    Try setting that value to false (if the line isn’t in the file already, go ahead and add it with a value of false). That will cause the asset pipeline to compile all your assets into a single file per manifest

    If that doesn’t fix it, you may need to restructure your manifest files. I’d read through this section on the Asset Pipeline: Manifests and Directives to understand how the manifests are used and compiled.

    You can also turn on compression if you want by adding/changing the following setting to true:

    config.assets.compress = true
    

    Note, that if you’re using custom compressors, you’ll also need to add those definitions as well:

    config.assets.css_compressor = :foo_compressor
    config.assets.css_compressor = :bar_compressor
    

    A complete list of the config options for the asset pipeline can be found in the Rails Guides Documentation on Configuring Rails Applications: Configuring Assests.

    config.assets.compress a flag that enables the compression of compiled assets. It is explicitly set to true in config/production.rb.

    config.assets.debug disables the concatenation and compression of assets. Set to false by default in config/development.rb.

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

Sidebar

Related Questions

I'm developing a web application for a new service, starting from Firefox 3.5. The
I am new to Ruby On Rails & developing a web application with Facebook
we have a production site like www.Domain1.com, and developing a new web application www.domain2.com,
I'm currently developing a new web application. This is the first time I'm using
I am new to programming. I am developing a web application using C#, where
If any one want to start developing new web application with real cool and
Currently we're developing a new Web Application. Customer says that it should support at
I am developing a new web application with Struts2, Spring and Hibernate as its
My team is developing a new DotNetNuke web application and would like to know
I am co-developing a simple web app in Rails 3.0.9 and I have realized

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.