Using Pow I receive ‘uninitialized constant ApplicationController::OpenStruct’ unless I require ostruct.
WEBrick and the RSpec tasks appear to work just fine without the explicit ostruct require, perhaps WEBrick (or some other part of the Rails stack) and RSpec are requiring ostruct for their own purposes.
The OpenStruct.new is called in ApplicationController#current_user.
I am sharing this in the event anyone else runs into the same issue.
Branch with the broken-ish code (only breaks with Pow)