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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:15:26+00:00 2026-05-27T06:15:26+00:00

I first switch to a separate heroku_branch branch to keep the precompiled assets from

  • 0

I first switch to a separate heroku_branch branch to keep the precompiled assets from “poluting” my git repository then merge with the master repository

$ git checkout heroku_branch
$ git merge master

I’ve done exactly what heroku’s documentation recommends with resepect to precompiling assets

$ RAILS_ENV=production bundle exec rake assets:precompile

/Users/bagvoo/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /Users/bagvoo/.rvm/gems/ruby-1.9.2-p290@upvote/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
/Users/bagvoo/.rvm/rubies/ruby-1.9.2-p290/bin/ruby /Users/bagvoo/.rvm/gems/ruby-1.9.2-p290@upvote/bin/rake assets:precompile:nondigest RAILS_ENV=production RAILS_GROUPS=assets

$ git add .
$ git commit -m "vendor compiled assets"

Then I push to the heroku repository using

$ git push heroku master

However, I don’t get

-----> Preparing Rails asset pipeline
       Detected manifest.yml, assuming assets were compiled locally

Instead I get:

----> Preparing app for Rails asset pipeline
      Running: rake assets:precompile
      rake aborted!
      undefined method `blamed_files' for nil:NilClass
      (in /tmp/build_6x7f3k642z8z/vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb)

      Tasks: TOP => assets:precompile:primary
      (See full trace by running task with --trace)
      Precompiling assets failed, enabling runtime asset compilation

There is a public/assets/manifest.yml so I don’t understand why heroku is trying to precompile these things…

  • 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-27T06:15:26+00:00Added an answer on May 27, 2026 at 6:15 am

    The problem is that I was pushing from the wrong branch.

    Was

    $ git push heroku master
    

    Is

    $ git push heroku heroku_branch:master
    

    This is specific to the case above where you have a separate branch from the master branch that you are pushing from.

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

Sidebar

Related Questions

First, I have a very large cvs repository and I'm trying to switch things
First, I realize that from a performance perspective, the design of this switch statement
I'm giving my first steps on Python. I saw that we don't have switch
This is my first iPad/Storyboard/SplitViewController and it has a table as the master and
First a few definitions to keep things clear. User: A live person, using the
I've decided for the first time to switch to InnoDB and experiment with foreign
First, let's get the security considerations out of the way. I'm using simple authentication
First off, I am using Windows XP. I have multiple hard drives and it
First off, I understand the reasons why an interface or abstract class (in the
First off if you're unaware, samba or smb == Windows file sharing, \\computer\share etc.

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.