2013-02-13 16 views
21

Ho il gem 'newrelic_rpm' nel mio Gemfile come da Heroku documentation. Quando si tenta di eseguire git push heroku master ricevo il seguente:Heroku push fallito a causa di New Relic RPM gemma

-----> Ruby/Rails app detected 
-----> Installing dependencies using Bundler version 1.3.0.pre.5 
     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 newrelic_rpm-3.5.6.46 in any of the sources 
! 
!  Failed to install gems via Bundler. 
! 
!  Heroku push rejected, failed to compile Ruby/rails app 

To [email protected]:reponame.git 
! [remote rejected] master -> master (pre-receive hook declined) 

Tutte le idee su come risolvere questo problema? Ho già provato bundle update come da questa risposta SO: https://stackoverflow.com/a/4576816/337903 inutilmente.

+1

Qualsiasi ulteriore informazione proviene da "heroku logs"? –

risposta

27

EDIT: 3.5.8.72 della gemma è stato rilasciato @thanks Chris

Sembra l'API Bundler Dipendenza sta avendo problemi.

newrelic_rpm-3.5.6.46 è stato tirato su il 22 gennaio 2013. Ma è ancora richiesto dall'API.

Il blocco del tuo gemfile alla versione corrente risolverà il problema nel frattempo.

gem "newrelic_rpm", "~> 3.5.5.38" 
+6

FYI, versione 3.5.8.72 della gemma è stata rilasciata, e i problemi di dipendenza del bundler non esistono più. Quindi un 'bundle update newrelic_rpm' ora farà il trucco. – chrislopresto

+0

Dovresti postare questo come risposta chris – Daniel

0

Come chrislopresto accennato, potrebbe essere necessario fare un

bundle update newrelic_rpm 

sto postando questo come una risposta in quanto è stato suggerito, e hey, versioni cambiare.

Problemi correlati