2013-05-01 13 views
5

Sto provando a schierare a Heroku (binari 3 app) e continuo a ricevere questo errore:"Impossibile trovare bootstrap-sass-2.3.1.1 in una qualsiasi delle fonti" a Heroku spingere

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 

ho guardato molti degli altri "Impossibile trovare [gemma] in una qualsiasi delle fonti" i messaggi, come:

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

e provato tutte le soluzioni che propongono, e sto ancora ricevendo t il suo.

miei 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' 

Grazie in anticipo per qualsiasi supporto che può fornire.

anche:

ho corse

bundle install --without sviluppo: prova --path vendor/bundle --binstubs vendor/bundle/bin --deployment

nel Terminal come quello è quello che Heroku vuole correre per vedere cosa succederebbe. E a quanto pare una volta eseguito, salva tutte le opzioni impostate, quindi ora quando eseguo "dundle install", usa tutte queste opzioni. Qualche idea su come posso tornare alle opzioni di default?

EDIT

La risposta alla seconda parte è rm-rf .bundle & & bundle install

EDIT 2

E 'chiaramente qualcosa con la mia particolare Gemfile. Ho sostituito il mio gemfile con quello dal thread this e distribuito.

risposta

1

Hai provato a richiedere esplicitamente bootstrap-sass nel tuo file gem?

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

Sì, lo stesso errore :( –

+0

guardato in altri posti come [questo] (http: // StackOverflow.it/questions/11268771/rake-aborted-couldnt-find-file-twitter-bootstrap) che fa riferimento anche alla stessa gemma, seguito le istruzioni e sto ottenendo lo stesso errore –

0

Ho avuto lo stesso problema. Era dovuto al fatto che la gemma bootstrap-sass era nel gruppo delle risorse.

ho rimosso dal asset-gruppo e ha funzionato bene in Heroku