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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:55:46+00:00 2026-06-04T18:55:46+00:00

The problem with this app is that is WIP, so we are not using

  • 0

The problem with this app is that is WIP, so we are not using anything to deploy it to our production server, we just clone it from github and we are doing a git pull every time we have something done, rake assets:precompile task takes more than 30 minutes to finish!, WTF?.

We are doing this:

$ bundle exec rake assets:clean
$ bundle exec rake assets:precompile

Our production server:

  • ruby 1.9.3p194 (rbenv)
  • rails 3.2.3
  • unicorn
  • nginx

Our rails + unicorn + rbenv + init.d daemon configuration is here: https://gist.github.com/2776085

Now, here’s our assets manifests, Gemfile and our production.rb files: http://pastie.org/3958070

So, somebody knows why this takes so long? or there’s a way to speed up assets compilation in production?.

Thank you.

UPDATE: Assets compilation times locally: http://pastie.org/3961734

  • 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-04T18:55:48+00:00Added an answer on June 4, 2026 at 6:55 pm

    Rails’s asset pipeline looks a little bit further than app/assets/{javascripts,stylesheets}.
    As mentioned in the guides, there are also other locations where you can put your application’s assets:

    • app/assets
    • lib/assets
    • vendor/assets

    I suggest you to read the complete guide on Rails’s asset pipeline to get more information about all this and also some tips for your production environment, such as nginx rules for caching, speeding up the assets pre-compilation, etc.

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

Sidebar

Related Questions

This is a very weird problem. My app that runs just fine but somehow
I am facing this problem upon pushing my app to Heroku: 500 internal server
I'm using django with app-engine-patch and I'm having this wierd problem running manage.py dumpdata
I am using this function to play sound on my iPhone app. the problem
My problem is this: I have a C/C++ app that runs under Linux, and
I'm hoping someone can find this problem. I had an app that was fully
I have one Demo app download from developer.apple.com I have problme that this app
I have a legacy (solve this problem for us issue) app that communicates with
We have an app that creates queues and services in SQL Server using the
I deployed an ASP.NET MVC app using MSDeploy and ran into this problem i

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.