core: tweaks to work with local gem dependencies and no shipping