Skip to content

Failed to deploy after 0.35.0 upgrade #1021

Closed

Description

We upgraded to 0.35.0 and our deploy release step (bundle exec rails db:migrate) on Heroku failed with the following error message:

/app/vendor/bundle/ruby/2.6.0/gems/ddtrace-0.35.0/lib/ddtrace/configuration/components.rb:150:in `each': undefined method `close' for nil:NilClass (NoMethodError)
	from /app/vendor/bundle/ruby/2.6.0/gems/ddtrace-0.35.0/lib/ddtrace/configuration/components.rb:150:in `teardown!'
	from /app/vendor/bundle/ruby/2.6.0/gems/ddtrace-0.35.0/lib/ddtrace/configuration.rb:44:in `shutdown!'
	from /app/vendor/bundle/ruby/2.6.0/gems/ddtrace-0.35.0/lib/ddtrace.rb:37:in `block in <module:Datadog>'

Reverting to 0.34.2 makes the command succeed without any other changes.

We're running Rails 6.0.2.2 and Ruby 2.6.5 if that helps. If you need any more information just let me know and I'll try to respond as fast as I can 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugInvolves a bugcommunityWas opened by a community membercoreInvolves Datadog core libraries

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions