Looks like after adding ruby19 target amqp works without any problems
This is an old version. Why do you need this particular version?
I need version equal or higher than 0.9.7. I tested my software working using version 0.9.7 as well as with version 0.9.8. I thought that it will be simpler to add ruby19 targets to older version which is longer in portage.
amqp-1.0.2 was in the queue of gems to bump, but unfortunately it fails its specs with ruby19: * Running test phase for ruby19 ... Using Ruby 1.9.3, amq-client 1.0.2 and amq-protocol 1.3.0 ........*.................. Pending: /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:205:in `initialize': AMQP can only be used from within EM.run {} (RuntimeError) from /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:1281:in `new' from /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:1281:in `default' from /var/tmp/portage/dev-ruby/amqp-1.0.2/work/ruby19/amqp-1.0.2/lib/amqp/channel.rb:1288:in `method_missing' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:146:in `flatten' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:146:in `full_description' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:73:in `store_computed' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:46:in `[]' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:118:in `full_description' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:73:in `store_computed' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/metadata.rb:46:in `[]' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:41:in `block (2 levels) in delegate_to_metadata' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb:107:in `block in dump_pending' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb:106:in `each' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/formatters/base_text_formatter.rb:106:in `dump_pending' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:98:in `block in notify' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:97:in `each' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:97:in `notify' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:80:in `finish' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:36:in `report' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run' from /usr/lib64/ruby/gems/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun' * ERROR: dev-ruby/amqp-1.0.2 failed (test phase): Upstream doesn't have a clear place to report this.
*amqp-1.0.2 (10 Sep 2013) 10 Sep 2013; Hans de Graaff <graaff@gentoo.org> +amqp-1.0.2.ebuild: Version bump. Add ruby19.