add requirements section; ruby 2.0 for __dir__