gem works correctly but won't run specs because of config issues