Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku push failing due to New Relic RPM gem

I've got gem 'newrelic_rpm' in my Gemfile as per Heroku's documentation. When I attempt to run git push heroku master I receive the following:

-----> 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)

Any ideas on how to fix this? I've already tried bundle update as per this SO answer: https://stackoverflow.com/a/4576816/337903 to no avail.

like image 215
Nick Avatar asked Feb 13 '13 02:02

Nick


1 Answers

EDIT: 3.5.8.72 of the gem has been released @thanks Chris

It appears the Bundler Dependency API is having issues.

newrelic_rpm-3.5.6.46 was yanked on January 22, 2013. But is still being requested by the API.

Locking your gemfile to the current release will fix the issue in the meantime.

    gem "newrelic_rpm", "~> 3.5.5.38"
like image 180
rposborne Avatar answered Oct 02 '22 23:10

rposborne