Skip to content

Commit

Permalink
Merge pull request judofyr#55 from jraregris/patch-1
Browse files Browse the repository at this point in the history
The worlds smallest typo. :P
  • Loading branch information
judofyr committed May 15, 2011
2 parents 6512871 + 4140560 commit 7375afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/making-ruby-gems
Expand Up @@ -95,7 +95,7 @@ Because gems follow these conventions, there are a bunch of different gems that

If you're not using [rvm](http://rvm.beginrescueend.com/) already, you should. rvm is wonderful for a few reasons, but when you're making a gem, rvm's [gemsets](http://rvm.beginrescueend.com/gemsets/) feature allow you to develop your gems in a cleanroom environment. This is nice for two reasons: you can verify that you have all of your dependencies configured properly, and you won't pollute your regular Ruby setup with your undoubtedly half-broken under-development versions of your own gems.

Bundler is great for managing depedancies of gems in your applications, but it also includes two cool tools to help you make gems: `bundle gem <gemname>` will create a gem skeleton, and that skeleton is set up with a few `rake` tasks to make your development of gems nice and simple. The bundler skeleton sets up all of those directories I showed you above, as well as giving you a Gemfile, a `git` repository, and a .gitignore file. The three `rake` tasks bunlder installs are 'build,' 'install,' and 'release.' 'build' builds your gem into a .gem, 'install' installs that gem into your current Ruby, and 'release' will tag your release, push it to GitHub, and then push your gem to rubygems.org. Super simple.
Bundler is great for managing depedancies of gems in your applications, but it also includes two cool tools to help you make gems: `bundle gem <gemname>` will create a gem skeleton, and that skeleton is set up with a few `rake` tasks to make your development of gems nice and simple. The bundler skeleton sets up all of those directories I showed you above, as well as giving you a Gemfile, a `git` repository, and a .gitignore file. The three `rake` tasks bundler installs are 'build,' 'install,' and 'release.' 'build' builds your gem into a .gem, 'install' installs that gem into your current Ruby, and 'release' will tag your release, push it to GitHub, and then push your gem to rubygems.org. Super simple.

## An example

Expand Down

0 comments on commit 7375afb

Please sign in to comment.