Chicago / windy

43 stars 8 forks source link

Issue running windy #8

Closed phillipsj closed 2 years ago

phillipsj commented 12 years ago

Hi,

I just installed windy and I receive this error when trying to use it: RuntimeError: :json is not registered on Faraday::Request.

Any help would be appreciated as I am fairly new to Ruby. I also tried running your spec and it fails.

Thanks,

phillipsj commented 12 years ago

Apparently Faraday has been updated and the namespaces have been changed. This may be the issue.

phillipsj commented 12 years ago

There is not any json response type in faraday. I changed the default to logger and the spec runs just fine. Are you all using faraday middleware? If so, that dependency is not listed. Once I get the issues resolved, I will submit a pull request if not resolved before then.

phillipsj commented 12 years ago

So I have replaced Faraday with FaradayMiddleWare and made a change form MultiJson to Json and it now works.