Checking for required ruby gems.