title: Ruby On Rails - Where to gems actually go
body: <p>When I do sudo gem install XYZ where does that code actually go? Are gems written in ruby on another language?</p>
  
  <p>When I do bundle install, what does that do? I read through the rails tutorial, but it seemed to leave out those important details.</p>