update gem and tweaks to remove deps from files