Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

restarting the server and refreshing admin pahe causes TypeError #752

Closed
pke opened this Issue · 11 comments

7 participants

@pke

When I restart the server and refresh the admin page the session seems to get corrupted.
Can't convert nil into String
File: cookie.rb
Location: hexdigest
Line: 152

Also I remember that admin used to work without cookies in an earlier padrino version, can that be?

@DAddYE DAddYE was assigned
@skade skade was assigned
@michaelmaltese

Hi pke, this is a Rack bug (see rack/rack#223). You can fix this by adding gem 'rack', '1.4.0', :git => "git://github.com/rack/rack.git" to your Gemfile.

Hope this helps!

@pke
@pke
@rex79

Same issue here, add the rack gem to Gemfile and all works now.

Thanks mike

@pke
@rex79

You need the github version of the gem, so in your gem file you have to write:

gem 'rack', '1.4.0', :git => "git://github.com/rack/rack.git"

after this, launch "bundle install"

and then restart the server, it should work

@pke
@pke

This helps indeed. Why does it have to be the git version of the gem?

@michaelmaltese

Hi pke,

Looking at the Rack bug I linked to and the GitHub repository for Rack, it looks like the issue was fixed on January 4th (rack/rack#304), whereas the "1.4.0" version of Rack was tagged on December 27th. There is currently no released/tagged version of Rack incorporating the bugfix.

Hope this helps!

@konklone

Does Rack 1.4.1 include this fix?

@nesquena
Owner

Closing this issue (rack bug)

@nesquena nesquena closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.