bundle gem

Creates a skeleton for creating a rubygem
$ bundle gem GEM [--bin or -b] [--test=TESTFRAMEWORK] [--edit=TEXTEDITOR] [--ext]

Options:

--bin or -b: Generate a binary for your library.

--edit: Opens generated gemspec with specified or default text editor set BUNDLER_EDITOR, EDITOR or VISUAL env variables.

--ext: Generate a skeleton for a C-extension.

--test: Generate a test directory for your library: 'rspec' is the default, but 'minitest' is also supported.

Edit this document on GitHub if you caught an error or noticed something was missing.