iron-io / iron_mq_ruby

Ruby library for IronMQ.
http://www.iron.io
BSD 2-Clause "Simplified" License
35 stars 17 forks source link

How to pass paroxy #92

Closed ctippur closed 8 years ago

ctippur commented 9 years ago

I seem to be getting a connection refused error when I try the ruby client to get messages. Is there a way to set proxy?

featalion commented 9 years ago

Try :http_proxy option, when configure the client, like that:

client = IronMQ::Client.new(token: 'TOKEN', project_id: 'PRJ_ID', http_proxy: 'YOUR_PROXY')
treeder commented 9 years ago

@ctippur did that work for you?

rdallman commented 8 years ago

https://github.com/iron-io/iron_mq_ruby/issues/92#issuecomment-76308212 should resolve, re open is this is not resolved. thanks!