Prepare gem dependencies