librato / librato-metrics

Ruby wrapper to make it easy to interact with Librato's API.
https://librato.com
Other
108 stars 51 forks source link

uninitialized constant Faraday::Response::Middleware (NameError) #151

Open satyap opened 2 years ago

satyap commented 2 years ago

I get this error:

[snip path]gems/librato-metrics-2.1.2/lib/librato/metrics/middleware/count_requests.rb:5:in `': uninitialized constant Faraday::Response::Middleware (NameError) Did you mean? Faraday::Middleware

Gemfile:

source 'https://rubygems.org'

gem 'librato-metrics'
gem 'mysql2'
$ bundle show
Gems included by the bundle:
  * aggregate (0.2.3)
  * bundler (1.17.2)
  * faraday (2.3.0)
  * faraday-net_http (2.0.3)
  * librato-metrics (2.1.2)
  * mysql2 (0.5.4)
  * ruby2_keywords (0.0.5)

Ruby code:

require 'librato/metrics'

(That is the entire file. Simply requiring the module throws the exception.)

hp92-ch commented 11 months ago

Hello, will be part that PR in the next release? or is not maintained anymore? @chancefeick