Rake "Already Initialized Constant Wfkv_" Warning

Rake already initialized constant WFKV_ warning

I started having the same problem this evening. It seems to be related to Rack 1.3.4. I fixed it by adding this to my Gemfile:

gem 'rack', '1.3.3'

Then running:

bundle update rack

Incidentally, I tried Bozhidar's suggestion before this, but to no avail.

Ruby / Sinatra - Already initialized constant WFKV_

Simple fix: gem 'rack' , '1.3.3' (use the previous version of rack and the error goes away.) Much better than simply silencing.

Ruby on Rails devise http://0.0.0.0:3000/users/sign_out gets routing error

Notice how your routes say /users/sign_out is a DELETE request. Most browsers do not make DELETE requests by default. Just going to that URL would be a GET request to /users/sign_out.

This how to add sign out links should help you get it working.



Related Topics



Leave a reply



Submit