Heroku Deployment Broken

I made some changes to my project earlier this morning and everything went fine. About an hour later, I replaced the favicon with a new favicon and the deployment failed. I went and restarted a previous passing build from another project to see if it was the favicon or something behind the scenes and it turned out that build now failed too. I have some code from the failing build log and the passing build log below. It looks like some gems were originally fetched (multipart-post & faraday) are not being fetched in the latest build. Is this something I can fix or is this something handled internally?

PASSING

    Installing deploy dependencies
    Fetching dpl-heroku-1.10.8.gem
    Fetching multipart-post-2.1.1.gem
    Fetching faraday-0.15.4.gem
    Fetching rendezvous-0.1.3.gem
    Fetching netrc-0.11.0.gem
    Successfully installed multipart-post-2.1.1
    Successfully installed faraday-0.15.4
    Successfully installed rendezvous-0.1.3
    Successfully installed netrc-0.11.0
    Successfully installed dpl-heroku-1.10.8
    Parsing documentation for multipart-post-2.1.1
    Installing ri documentation for multipart-post-2.1.1
    Parsing documentation for faraday-0.15.4
    Installing ri documentation for faraday-0.15.4
    Parsing documentation for rendezvous-0.1.3
    Installing ri documentation for rendezvous-0.1.3
    Parsing documentation for netrc-0.11.0
    Installing ri documentation for netrc-0.11.0
    Parsing documentation for dpl-heroku-1.10.8
    Installing ri documentation for dpl-heroku-1.10.8
    Done installing documentation for multipart-post, faraday, rendezvous, netrc, dpl-heroku after 1 seconds
    5 gems installed
    dpl.2
    Preparing deploy
................more code
    Already up to date!
    HEAD detached at a1bbd1a
    nothing to commit, working tree clean
    Dropped refs/stash@{0} (5ef6b44a8be3f81af79b52f4dcb73f971699feb2)
    Done. Your build exited with 0.

FAILING

    Installing deploy dependencies
    Fetching rendezvous-0.1.3.gem
    Fetching dpl-heroku-1.10.9.gem
    Fetching netrc-0.11.0.gem
    Successfully installed rendezvous-0.1.3
    Successfully installed netrc-0.11.0
    Successfully installed dpl-heroku-1.10.9
    Parsing documentation for rendezvous-0.1.3
    Installing ri documentation for rendezvous-0.1.3
    Parsing documentation for netrc-0.11.0
    Installing ri documentation for netrc-0.11.0
    Parsing documentation for dpl-heroku-1.10.9
    Installing ri documentation for dpl-heroku-1.10.9
    Done installing documentation for rendezvous, netrc, dpl-heroku after 0 seconds
    3 gems installed
    /home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- faraday (LoadError)
    	from /home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-heroku-1.10.9/lib/dpl/provider/heroku.rb:1:in `'
    	from /home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:130:in `require'
    	from /home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
    	from /home/travis/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:35:in `require'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/lib/dpl/provider.rb:93:in `rescue in block in new'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/lib/dpl/provider.rb:68:in `block in new'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/lib/dpl/cli.rb:41:in `fold'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/lib/dpl/provider.rb:67:in `new'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/lib/dpl/cli.rb:31:in `run'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/lib/dpl/cli.rb:7:in `run'
    	from /home/travis/.rvm/gems/ruby-2.4.1/gems/dpl-1.10.9/bin/dpl:5:in `'
    	from /home/travis/.rvm/gems/ruby-2.4.1/bin/dpl:23:in `load'
    	from /home/travis/.rvm/gems/ruby-2.4.1/bin/dpl:23:in `'
    failed to deploy

Sorry for the troubles. We’ve pushed 1.10.10, which fixes the issue. Please restart the failed job, and report the results. Thanks.

Thanks! All good now.

1 Like