It appears that this was fixed in #602 via require 'rack/twilio_webhook_authentication' if defined?(Rack). However, the rack/media_type is only available in rack v2 and later (I'm on rack-1.6.13).
Proposed fix:
# lib/twilio-ruby.rb:13
require 'rack/twilio_webhook_authentication' if defined?(Rack) && (Gem.loaded_specs["rack"].version > Gem::Version.new("2"))
A summary of the issue and the environment in which it occurs. If suitable, include the steps required to reproduce the bug. Please feel free to include screenshots, screencasts, or code examples.
Issue Summary
I'm upgrading twilio-ruby from 5.40.1 to 5.66.2 and getting the following error:
It appears that this was fixed in #602 via
require 'rack/twilio_webhook_authentication' if defined?(Rack)
. However, therack/media_type
is only available in rack v2 and later (I'm on rack-1.6.13).Proposed fix:
A summary of the issue and the environment in which it occurs. If suitable, include the steps required to reproduce the bug. Please feel free to include screenshots, screencasts, or code examples.
Steps to Reproduce
After running
bundle install
, open anirb
session:Technical details: