> and Google is guessing which one I want based on what it knows about me
That's a bit of an empty statement. I assume it also looks at the other terms, or your previous searches (from your IP or Google Account). Because there might be a time where you are searching for a person Ruby (the capital letter gives it away) or a gem called ruby.