“Could not find bootstrap-sass- in any of the sources” on Heroku push

I am trying to deploy to Heroku (rails 3 app) and keep getting this error:

 Checking in `vendor/bundle` is not supported. Please remove this directory
       and add it to your .gitignore. To vendor your gems with Bundler, use
       `bundle pack` instead.
-----> Installing dependencies using Bundler version 1.3.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
       Fetching gem metadata from https://rubygems.org/........
       Fetching gem metadata from https://rubygems.org/..
       Could not find bootstrap-sass- in any of the sources
 !     Failed to install gems via Bundler.
 !     Heroku push rejected, failed to compile Ruby/rails app

I have looked at many of the other "Could not find [gem] in any of the sources" posts, like:

Heroku- Could not find paperclip-3.1.3 in any of the sources Heroku: Could not find libv8- in any of the sources Could not find multi_json-1.7.2 in any of the sources

and tried all of the solutions they propose, and am still getting this.

My gemfile:

source 'https://rubygems.org'

gem 'rails', '~> 3.2.11'

group :production, :staging do
  gem 'pg'
group :development, :test do
  gem 'sqlite3'
  gem "better_errors"
  gem 'rails-footnotes', '>= 3.7.5.rc4'

group :assets do
  gem 'therubyracer', :platforms => :ruby
  gem 'uglifier', '>= 1.0.3'

gem "less-rails"
gem 'sass-rails', '~> 3.2'
gem "twitter-bootstrap-rails"
gem 'jquery-rails'
gem 'omniauth'
gem 'omniauth-twitter'
gem "paperclip", "~> 3.0"
gem 'thin'
gem 'rails_admin'
gem 'devise'
gem 'binding_of_caller'
gem 'twilio-ruby'
gem 'aws-sdk'
gem 'aws-s3'
gem 'twitter'

Thanks in advance for any support you can provide.


I ran

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

in Terminal as that is what Heroku wants to run to see what would happen. And apparently once you run it, it saves all of the options you set, so now when I run "dundle install", it uses all of those options. Any idea how I roll back to default options?


The answer to the second part is rm -rf .bundle && bundle install


It's clearly something with my particular gemfile. I replaced my gemfile with the one from this thread, and it deployed.


It's a bug in the bootstrap-sass gem itself.


I set the following:

gem "bootstrap-sass", ""

then ran

gem uninstall bootstrap-sass
bundle update bootstrap-sass
bundle install

And was able to push to heroku again.

Need Your Help

How to synchronize adding element and removing elements from queue

java multithreading collections queue synchronized

I need some kind of a queue that will be synchronized for adding new elements and removing new elements:

unity.mvc3 and Unit of Work in ntier app?

asp.net-mvc asp.net-mvc-3 dependency-injection unity-container unit-of-work

Slowly putting an MVC app together with class libraries: MVC > Services > IRepository > EFRepository. Now at the moment, my EFRepository implementations each create a new dbContext in their constru...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.