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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:04:52+00:00 2026-05-31T00:04:52+00:00

My setup is fairly simple default rails 3.2.1 setup. All my .css.sass files are

  • 0

My setup is fairly simple default rails 3.2.1 setup. All my .css.sass files are in /app/assets/stylesheets/. I have the sass-rails '~> 3.2.3' gem in :assets group.

There’s no application.css, just main.css.sass (used for main layout).

When i issue:

RAILS_ENV=production bundle exec rake assets:precompile

it compiles my coffeescripts and javascripts. There are no error messages in the log. It’s like it doesn’t even try to compile sass files.

The main.css.sass file header looks like this:

//=depend_on "_globals.css.sass"
@import globals

The _glocals.css.sass exists in the same directory.

  • 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-31T00:04:53+00:00Added an answer on May 31, 2026 at 12:04 am

    James is right and it’s one of the possible solutions.

    The drawback of adding all files to one manifest file is that all will be precompiled to single file – which isn’t always what you want.

    In my case I needed separate files (one file for each layout).

    Heres how to add new manifest files:

    config.assets.precompile += %w( file1.css file2.css )
    

    You don’t need to have actual file1.css, if you have file1.css.sass it will be precompiled.

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

Sidebar

Related Questions

So my database setup is fairly simple. I have a forum_cat table (a forum
I have a fairly simple redirect rule setup in my Apache vhost . <VirtualHost
My setup is fairly simple: I have a web front-end, back-end is spring-wired. I
I have a fairly simple desktop application that uses a .NET setup project (.msi
I have a Visual Studio Setup Project that I use to install a fairly
I have a fairly large CRUD winform app that is set up to display
I've just implemented SQLCipher in my app to encrypt one fairly simple database. I
I have a fairly simple ASP.NET application, set up as a Web Application Project
I am currently getting myself into Spring-Roo and Spring-MVC. I have a fairly simple
I am trying to setup a fairly simple (imo) Javascript GUI, and am running

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.