Gems

Readme Homework


Episode 9 - Gems

Simple use of a gem created elsewhere.

Panda Level

  1. Create a gem named "about_#{username}" ... so mine would be "about_jwo"
  2. Create a Github repository and push your gem
  3. Edit this app to load your Gem
  4. Output some information about you (from the gem)

Tiger Level

  1. Instead of a console application, update this project to be a Sinatra App
  2. Create version 0.1.0 of your Gem
  3. Specify in your Sinatra Gemfile that you only want ~> 0.1

Eagle Level

  1. Implement the Episode 5 Adventure app as a gem
  2. Load the gem here

Show Links

Copyright

Copyright: Jesse Wolgamott, MIT License (See LICENSE)

Gems

  • Area:

    Databases  
  • Runtime:

    40  
  • Tech:

    ruby-gems  
  • Tags:

    gem library  

Gems are reusable libraries for Ruby projects. Here you'll we create our your very own ruby gem! As someone pointed out, you can call yourself on a resume: "Gem creator and maintainer". Possibly your twitter status: "about-jwo core committer"

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

ABOUT RUBY OFF RAILS

Ruby Off Rails is dedicated to accelerating the mastering of Ruby and increasing developer happiness everywhere.

In my software training, I see two distinct sets of programmers: those who know Ruby, and those who haven’t learned it yet. People who learn Ruby have an easier time understanding Rails, gems, and what magic voodoo is going on. And most importantly, they can cast wicked voodoo themselves.