Hi !

Just patched the install over here, I've added the code 
from: https://github.com/openid/ruby-openid/blob/master/lib/openid/fetchers.rb
to get the missing function. Was there a reason to not
include this function ?

The patch needs to be applied to
/usr/lib/ruby/1.8/openid/fetchers.rb

Cheers.

G


250,267d249
<     private
<     def setup_encoding(response)
<       return unless defined?(Encoding.default_external)
<       return unless charset = response.type_params["charset"]
<
<       begin
<         encoding = Encoding.find(charset)
<       rescue ArgumentError
<       end
<       encoding ||= Encoding.default_external
<
<       body = response.body
<       if body.respond_to?(:force_encoding)
<         body.force_encoding(encoding)
<       else
<         body.set_encoding(encoding)
<       end
<     end

Reply via email to