Permalink
Browse files

Mention that files need to be added to a repository before they can b…

…e released
  • Loading branch information...
1 parent 74d217f commit aef425aa1fc3f01d5248f2e616fe868a5896c3a4 @radar committed Mar 12, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 gem-development.md
View
7 gem-development.md
@@ -422,6 +422,13 @@ Amazing stuff, hey?
## Releasing the gem
+If we haven't already, we should commit all the files for our repository:
+
+ git add .
+ git commit -m "The beginnings of the foodie gem"
+
+This is because the `foodie.gemspec` file uses `git ls-files` to detect which files should be added to the gem when we release it.s
+
The final step before releasing our gem is to give it a summary and description in the _foodie.gemspec_ file.
To release the first version of our gem we can use the `rake release` command, providing we have committed everything. This command does a couple of things. First it builds the gem to the _pkg_ directory in preparation for a push to Rubygems.org.

0 comments on commit aef425a

Please sign in to comment.