“Could not find bootstrap-sass-126.96.36.199 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-188.8.131.52 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:
and tried all of the solutions they propose, and am still getting this.
source 'https://rubygems.org' gem 'rails', '~> 3.2.11' group :production, :staging do gem 'pg' end group :development, :test do gem 'sqlite3' gem "better_errors" gem 'rails-footnotes', '>= 3.7.5.rc4' end group :assets do gem 'therubyracer', :platforms => :ruby gem 'uglifier', '>= 1.0.3' end 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.
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", "184.108.40.206"
gem uninstall bootstrap-sass bundle update bootstrap-sass bundle install
And was able to push to heroku again.