You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently configuring the rpush gem to be able to report some data to New Relic, and for that I would like to use this callback in the rpush.rb file:
Rpush::Daemon::AppRunner.runners.each do |app_id, runner|
runner.app
runner.queue_size
::NewRelic::Agent.record_metric("Custom/Push/APNS/queue/#{runner.app.name}/queue", runner.queue_size)
end
Unfortunately, it triggers this error when running:
rpush development -f
/Users/Jeremy/Documents/rails/MobilePushNotificationService/MobilePushNotificationService/config/initializers/rpush.rb:42:in `block in <top (required)>': uninitialized constant Rpush::Daemon (NameError)
from /Users/Jeremy/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rpush-1.0.0/lib/rpush/reflection.rb:3:in `reflect'
Any idea how to fix it ?
Thank you in advance for your help!
Jeremy.
The text was updated successfully, but these errors were encountered:
Hi :)
I'm currently configuring the rpush gem to be able to report some data to New Relic, and for that I would like to use this callback in the rpush.rb file:
Unfortunately, it triggers this error when running:
rpush development -f
Any idea how to fix it ?
Thank you in advance for your help!
Jeremy.
The text was updated successfully, but these errors were encountered: