setup gems for images