So for example I see a gem on GitHub, let’s say this:
https://github.com/michaeldv/awesome_print
and installation is just as easy as saying gem install awesome_print
So how do they get installed? I mean with that command how does it “know” where to find a gem with that name? and “where” does it install it to ?
A gem, and commands to manipulate it are part of the rubygems software.