twilson63/zerigo_dns — Issue #5: Unsupported Media Type failure
Author: clivecrous
Created: 2011-10-24 07:18:57+00:00
State: open

% bundle exec ruby example/sample.rb

Retrieving list of first 20 zones...
/home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/connection.rb:146:in `handle_response': Failed. Response code = 415. Response message = Unsupported Media Type. (ActiveResource::ClientError)
from /home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/connection.rb:115:in `request'
from /home/clive/Repositories/git/github/zerigo_dns/lib/activeresource-ext.rb:9:in `request_with_headers'
from /home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/connection.rb:80:in `block in get'
from /home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/connection.rb:218:in `with_auth'
from /home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/connection.rb:80:in `get'
from /home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/base.rb:894:in `find_every'
from /home/clive/Repositories/git/github/zerigo_dns/.vendor/ruby/1.9.1/gems/activeresource-3.1.1/lib/active_resource/base.rb:806:in `find'
from example/sample.rb:31:in `

'