scope "/:locale" do

Tried to add internationalization by wrapping all my routes except root with
scope “/:locale” do

end

That caused this error when requesting root

No route matches {:action=>"new", :controller=>"devise/sessions"} missing required keys: [:locale]

How is this supposed to work