Skip to content

Instantly share code, notes, and snippets.

@shirkevich
Created May 27, 2011 09:16
Show Gist options
  • Save shirkevich/994913 to your computer and use it in GitHub Desktop.
Save shirkevich/994913 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'bundler'
Bundler.setup
Bundler.require(:default)
AMQP.start do |session|
channel = AMQP::Channel.new
exchange = channel.topic('test', :durable => true)
end
@shirkevich
Copy link
Author

/home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amq-client-0.7.0.alpha9/lib/amq/client/channel.rb:315:in handle_close': wrong number of arguments (2 for 1) (ArgumentError) from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amq-client-0.7.0.alpha9/lib/amq/client/channel.rb:315 from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amq-client-0.7.0.alpha9/lib/amq/client/adapter.rb:262:incall'
from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amq-client-0.7.0.alpha9/lib/amq/client/adapter.rb:262:in receive_frameset' from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amq-client-0.7.0.alpha9/lib/amq/client/adapter.rb:241:inreceive_frame'
from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amq-client-0.7.0.alpha9/lib/amq/client/adapters/event_machine.rb:220:in receive_data' from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun_machine'
from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run' from /home/deploy/.rvm/gems/ruby-1.8.7-p302/gems/amqp-0.8.0.rc9/lib/amqp/connection.rb:39:instart'
from amqp.rb:7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment