質問

I've updated the rails gem to version 3.2.1 and I created a dummy test application, but when execute I get this error:

NoMethodError
cannot parse Cookie header: undefined method `size' for nil:NilClass

Anyone know help me?

役に立ちましたか?

解決

This seems to be an issue with rack. I was able to fix it by pointing my Gemfile to master for the time being.

gem 'rack', git: 'git://github.com/rack/rack.git'

他のヒント

For historical purposes, anyone researching this issue should know that this bug has been fixed as of 2012-08-10.

Updating to Rack 1.4.2 or 1.5.0 or newer should fix this issue.

https://github.com/rack/rack/issues/386#issuecomment-7660902

Also had this problem. It was caused by a comma in the value of a cookie being sent in the request headers. The cookie with the bad value was set by a different site running on the same domain (different sub-domain). Removing the bad cookie with the comma fixed the problem.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top