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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:27:32+00:00 2026-06-15T23:27:32+00:00

I have an app which I have pushed successfully several times which has just

  • 0

I have an app which I have pushed successfully several times which has just started crashing when I try to push it to heroku.

I thought the only change I made was to a yaml config file and so I replaced that file with an earlier version but the crash continues. Any thoughts on how to track this down?

heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 38838`
app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- rails_config/sources/yaml_source (LoadError)
app[web.1]:     from /app/vendor/bundle/ruby/1.9.1/gems/rails_config-0.3.1/lib/rails_config.rb:4:in `<top (required)>'

[Added – 12/13/12] Interestingly – cloning the local repo and creating a new Heroku app with it works fine, so it looks to be something with the instance rather than the repo. Touching a file an redeploying doesn’t fix it tho’.

  • 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-15T23:27:33+00:00Added an answer on June 15, 2026 at 11:27 pm

    Turns out this was a problem in the .slugignore.

    I diagnosed this by looking at how Heroku built the bundle and reproducing that locally:

    bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment.
    

    Checking the resulting bundle I confirmed that the missing yaml_source file (from rails_config) was indeed present. Then I remembered half noticing that the slug compiler had said that it was removing 3 files rather than the usual 1.

    I have a top level ‘sources’ directory which I was trying to exclude with

    sources
    

    in the .slugignore file. This was matching the sources directory in the gem. Changed the entry to the intended

    /sources/
    

    and all is good again.

    This leaves the observation that Heroku seems to be using different versions of the Slug Compiler in different instances and it appears to have changed. (My app works on a different instance and .slugignore file has been incorrect for a long time)

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

Sidebar

Related Questions

I have an app which has a map and some POI on it. I'm
I have a navigation based app where a certain pushed view has a nice
I have developed an app that has work successfully for the last 4 months
I just pushed an app to a production Heroku environment. Basically there is a
I have app in which i have recorded sound files i want that i
I have a app which will download a file from web. The download action
I have an app which contain some images in res/drawable/ and shows them in
I have an app which access an app folder on a per user basis.
I have an app which requires downloading image asynchronously in base64 encoded string(server is
I have an app which is based on a UINavigationController . There is a

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.