complete rewrite from `bundle gem`