Fixes for dir manager.  Added Gemfile