Bob is a very vague teenager. In conversation, his responses are very limited.
- Bob answers 'Sure.' if you ask him a question.
- He answers 'Woah, chill out!' if you yell at him.
- He says 'Fine. Be that way!' if you address him without actually saying anything.
- He answers 'Whatever.' to anything else.
To do the generating, we will use Bundler.
is the main file that Bundler uses to track versions of all the dependencies our gem needs
> cat Gemfile
Rake is Ruby's version of the venerable Make tool for building things.
> bundle exec rake -T
Rubyists almost exclusively love the MIT license, because it makes making money really, really easy
Bundler gives us a pretty okay README to start with.
The md stands for Markdown, the One True Document Format.
Bundler makes sure to create a decent ignore file for git so that we don't check bad things in.
This file specifies all the metadata for our gem
Every Rubyist except for DHH believes in test-driven development, so we'll write a test first.
Rubyists assume you use GitHub.
It was originally created by some Rubyists
lots of early users were Rubyists
First thing to do is to make sure that packaging it all up works. Let's try:
> bundle exec rake install
It successfully built the package, and our 'binary' works. Since this is a feature-complete version of the gem, we should bump the version to 1.0.
> bundle exec rake release