Displaying 1 result from an estimated 1 matches for "httpclien".
Did you mean:
httpclient
2011 Sep 26
2
undefined method `options' for #<EventMachine::HttpClien
...http.options[:head] = (http.options[:head] ||
{}).merge!({"Authorization" => oauth_helper.header})
http.callback {
p http.response
EventMachine.stop
}
The rake gets aborted with the following error:
undefined method `options'' for #<EventMachine::HttpClient:0x42cf9f0>
D:/ROR/LOCAL_TWEETS/lib/tasks/twitter.rake:40:in `block in <top
(required)>''
D:/Ruby192/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.0.beta.4.1-x86-mingw32/lib/
eventmachine.rb:179:in `call''
I am working on Windows 7, x64, and the gems I use are
em-http-request...