Create new gems easily
gem install gem-new
gem new my_new_gems_name
- Profit!
See gem help new
for more information (only available after you installed the gem-new
gem).
Gem-new is a gem command plugin that allows you to easily create a new gem. To facilitate gem creation, it relies on directory templates. You can create your own templates and let a template use other templates. For example you could have a 'rails-plugin' template, which includes a 'git-repository', 'rspec', 'ruby-lib' and 'yard' template. This way you can modularly build up your templates and quickly create matching directory structures.
Use gem help new
for information on how to use the gem-new executable.