Open hghdo opened 10 years ago
It's possible that amqp library has been updated and API has changed. Have you tried freezing AMQP gem with an earlier version number?
I am seeing this as well with 1.1.0, 1.2.0, and 1.3.0 of the amqp gem.
I cant say definitely, that the versions above 1.0.4 don't work. Are there any plans to support newer versions of amqp gem?
From amqp's change log: AMQ::Client has been removed since v1.1.0
@igrigorik
gem 'amqp', '= 1.0.0'
does the trick.
@dgutov that pull conflates amqp and ActiveRecord changes. Can you make a separate commit+pull for AMQP freeze?
@igrigorik Sure, if you think that's preferable. I can't run the specs without the other change, though.
@igrigorik any chance you have insight into whether updates are coming to support AMQP gem > 1.0.4? Greatly appreciated if so.
@jacobhummer I've not kept up with the AMQP stuff, not sure.
Thank you @igrigorik ! Definitely understandable. Hopefully I'll be able to have a go at it.
I think that just removing the line ::AMQP.client = ::EM::Synchrony::AMQP::session
might be enoug to make it work with newer amqp gems. I've just run the tests on Debian unstable wich contains amqp 1.6, and they passed fine.
Hi all I can't require 'em-synchrony/amqp' It complains:
I have amqp v1.2.1 installed.