title: Cucumber's AfterConfiguration can't access helper modules
body: <p>I have a modular Sinatra app without a DB and in order to test memcache, I have some test files that need to be created and deleted on the file system. I would like to generate these files in an AfterConfiguration hook using some helper methods (which are in a module shared with rspec, which also needs to create/delete these files for testing). I only want to create them once at the start of Cucumber.</p>
  
  <p>I do not seem to be able to access the helpers from within AfterConfiguration, which lives in "support/hooks.rb." The helpers are accessible from Cucumber's steps, so I know they have been loaded properly.</p>
  
  <p>This previous post seems to have an answer: <a href="https://stackoverflow.com/questions/5296270/want-to-load-seed-data-before-running-cucumber">Want to load seed data before running cucumber</a></p>
  
  <p>The second example in this answer seems to say my modules should be accessible to my AfterConfiguration block, but I get "undefined method `foo' for nil:NilClass" when attempting to call helper method "foo".</p>
  
  <p>I can pull everything out into a rakefile and run it that way, but I'd like to know what I'm missing here.</p>