title: Pushing Rails App to Heroku - "fatal: Could not parse object"
body: <p>I am a Noob trying to push my first app from onemonthrails.com up to heroku. I have been trying to solve this issue on stackoverflow and other sites. I cannot seem to come up with an answer. I tried deleting the gem-file then recreating before I pushed it up, diddn't work. </p>
  
  <p>Also, I started with a heroku app and then I deleted it halfway between, but I think I got that issue solved with the heroku documentation. </p>
  
  <p><strong>This is what's happening now:</strong></p>
  
  <pre><code>Johns-MacBook-Air:pinteresting johnsalzarulo$ git push heroku master
  Initializing repository, done.
  Counting objects: 815, done.
  Delta compression using up to 4 threads.
  Compressing objects: 100% (750/750), done.
  Writing objects: 100% (815/815), 19.55 MiB | 854.00 KiB/s, done.
  Total 815 (delta 388), reused 0 (delta 0)
  
  -----&gt; Removing .DS_Store files
  -----&gt; Ruby app detected
  -----&gt; Compiling Ruby/Rails
  -----&gt; Using Ruby version: ruby-2.0.0
  -----&gt; Installing dependencies using 1.5.2
         New app detected loading default bundler cache
         Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
         Fetching gem metadata from https://rubygems.org/.......
         Fetching additional metadata from https://rubygems.org/..
         Fetching git://github.com/thomas-mcdonald/bootstrap-sass.git
         fatal: Could not parse object '0e88056ac5d58fb0bbd23d3fe929eac01712d964'.
         Retrying git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964 due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964` in directory /tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/bundler/gems/bootstrap-sass-0e88056ac5d5 has failed.
         If this error persists you could try removing the cache directory '/tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
         fatal: Could not parse object '0e88056ac5d58fb0bbd23d3fe929eac01712d964'.
         Retrying git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964 due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964` in directory /tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/bundler/gems/bootstrap-sass-0e88056ac5d5 has failed.
         If this error persists you could try removing the cache directory '/tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
         fatal: Could not parse object '0e88056ac5d58fb0bbd23d3fe929eac01712d964'.
         Git error: command `git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964`
         in directory
         /tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/bundler/gems/bootstrap-sass-0e88056ac5d5
         has failed.
         If this error persists you could try removing the cache directory
         '/tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
         Bundler Output: Fetching gem metadata from https://rubygems.org/.......
         Fetching additional metadata from https://rubygems.org/..
         Fetching git://github.com/thomas-mcdonald/bootstrap-sass.git
         fatal: Could not parse object '0e88056ac5d58fb0bbd23d3fe929eac01712d964'.
         Retrying git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964 due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964` in directory /tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/bundler/gems/bootstrap-sass-0e88056ac5d5 has failed.
         If this error persists you could try removing the cache directory '/tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
         fatal: Could not parse object '0e88056ac5d58fb0bbd23d3fe929eac01712d964'.
         Retrying git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964 due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964` in directory /tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/bundler/gems/bootstrap-sass-0e88056ac5d5 has failed.
         If this error persists you could try removing the cache directory '/tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
         fatal: Could not parse object '0e88056ac5d58fb0bbd23d3fe929eac01712d964'.
         Git error: command `git reset --hard 0e88056ac5d58fb0bbd23d3fe929eac01712d964`
         in directory
         /tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/bundler/gems/bootstrap-sass-0e88056ac5d5
         has failed.
         If this error persists you could try removing the cache directory
         '/tmp/build_f4678a3f-b875-4162-a8aa-926fcff3a580/vendor/bundle/ruby/2.0.0/cache/bundler/git/bootstrap-sass-33efd1d8ffb6176fdb805029a30f02a6edfbae2e'
   !
   !     Failed to install gems via Bundler.
   !
  
   !     Push rejected, failed to compile Ruby app
  
  To git@heroku.com:johnsalzarulololz.git
   ! [remote rejected] master -&gt; master (pre-receive hook declined)
  error: failed to push some refs to 'git@heroku.com:johnsalzarulololz.git'
  Johns-MacBook-Air:pinteresting johnsalzarulo$ 
  </code></pre>
  
  <p><strong>Here is my Gemfile:</strong> </p>
  
  <pre><code>source 'https://rubygems.org'
  ruby '2.0.0'
  
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  gem 'rails', '4.0.0'
  gem 'uglifier', '&gt;= 1.3.0'
  gem 'coffee-rails', '~&gt; 4.0.0'
  gem 'jquery-rails'
  gem 'turbolinks'
  gem 'jquery-turbolinks'
  gem 'jbuilder', '~&gt; 1.2'
  gem 'sass-rails', '&gt;= 3.2' # sass-rails needs to be higher than 3.2
  gem 'bootstrap-sass', '~&gt; 3.0.3.0'
  gem 'devise', '~&gt;3.1.0.rc2'
  gem 'paperclip', '~&gt; 3.0' #Finally got this installed!
  gem 'heroku', '~&gt; 3.2.2'
  gem 'masonry-rails', '~&gt;0.2.0'
  gem 'font-awesome-sass'
  gem 'will_paginate', '~&gt;3.0'
  gem 'will_paginate-bootstrap'
  
  group :development, :test do
      gem 'sqlite3'
  end
  
  group :production do
      gem 'pg'
      gem 'rails_12factor'
      gem 'aws-sdk', '~&gt; 1.16.1'
  end
  
  group :doc do
    # bundle exec rake doc:rails generates the API under doc/api.
    gem 'sdoc', require: false
  end
  </code></pre>