"Could not find bootstrap-sass-2.3.1.1 in any of the sources" by clicking Heroku

I am trying to install on Heroku (rails 3 application) 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-2.3.1.1 in any of the sources
 !
 !     Failed to install gems via Bundler.
 !
 !     Heroku push rejected, failed to compile Ruby/rails app

I looked at many others: “Could not find [gem] in any of the sources” messages, for example:

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

and tried all the solutions they offer, and I still get it.

My gemfile:

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.

also:

I ran

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

, , , , . , , , , , , "dundle install", . , ?

: rm -rf.bundle &&

2

- gemfile. gemfile , , .

+5
3

--.

https://github.com/thomas-mcdonald/bootstrap-sass/commit/abf20dae81b894fc5e03aaa006887265254277d1

:

gem "bootstrap-sass", "2.3.1.0"

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

.

+9

gem?

gem "bootstrap-sass", "2.3.1.1"
+1

I had the same problem. This was due to the fact that the bootstrap-sass gem was in the asset group.

I removed it from the asset group and it worked great in Heroku

0
source

All Articles