Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proc.new deprecation warnings #305

Closed
brunocam11 opened this issue Nov 29, 2019 · 2 comments
Closed

Proc.new deprecation warnings #305

brunocam11 opened this issue Nov 29, 2019 · 2 comments
Assignees
Labels

Comments

@brunocam11
Copy link

brunocam11 commented Nov 29, 2019

These deprecation warnings related to Proc.new are constantly appearing.

/Users/moove-it/.rvm/gems/ruby-2.7.0-preview1/gems/newrelic_rpm-6.7.0.359/lib/new_relic/dependency_detection.rb:97: warning: Capturing the given block using Proc.new is deprecated; use &block instead

/Users/moove-it/.rvm/gems/ruby-2.7.0-preview1/gems/newrelic_rpm-6.7.0.359/lib/new_relic/dependency_detection.rb:118: warning: Capturing the given block using Proc.new is deprecated; use &block instead

@rachelleahklein
Copy link

Hello, @brunocam11! I'm happy to report we are currently working on support for pre-release versions of Ruby 2.7.0, which will eliminate these warnings. I will follow up when we've released that support.

@mwlang mwlang self-assigned this Dec 27, 2019
@rachelleahklein
Copy link

@brunocam11, just letting you know we released support for Ruby 2.7.0-preview1 today in agent version 6.8.0. With the new version of the agent, you will no longer see these warnings!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants