Posted over 6 years ago. Visible to the public.

Gems, bundler, rbenv [1d]


  • Understand what a Gem is
  • Learn how to install a gem
  • Be able to look into gem code
    • locally
    • on GitHub
  • Learn about Bundler
    • Why is it necessary:
      • Managing versions and dependencies
      • Defining a consistent project environment
    • What is the difference between bundle install and bundle update?
    • What does bundle exec do, why is it necessary?
    • What does the file Gemfile.lock do?
  • rbenv
    • Understand why we need rbenv




Play around with bundler. Create a gemfile, add some gems.

Try to add an older version of a gem. Try to update it.


  • Find the andand gem on
  • Find its code on github.
  • Understand what it does.
  • Look at the code, and see how it works
  • Write a simple ruby script that makes use of it. How does andand's code find its way into your script?
  • Look at andand's .gemspec file and understand what it says.
  • How does the gem get to Where does rubygems get all the additional info?
  • andand has "forks". What are forks and why are people creating them? How can you find them?

Owner of this card:

Henning Koch
Last edit:
about 2 years ago
by Henning Koch
Posted by Henning Koch to makandra Curriculum
This website uses short-lived cookies to improve usability.
Accept or learn more