Farewell to "--include-dependencies"

By Phil Matarese on December 20th, 2007

Tagged with: rake, gems, rails

Of Course I Want Dependencies

With the latest version of RubyGems (1.0.0), you no longer have to explicitly state that you want dependencies included.  The new default mode is to assume that you'll want whatever dependencies are needed to make this new gem work.

gem install rails

This was a great design choice, as I can't think of a time when I've ever wanted to skip the dependencies.  Anyone else?

This Is Nice, Too

Are you tired of typing gem list | grep ^[A-z] to get a nice simple list of all your installed gems?  All anyone really wants to know is "which gems" and "what version".  Well, now you can just type gem list, and you're all set.  (If you really want all the gory details, you can add --gory-details.  Just kidding, you add --details.  No, I'm serious this time.  Really, try it.)

gem list

Another win for convention over configuration!  I don't think it gets any better than this.

(Update) There's More

The latest update to rake also adds some task-listing niceties. See, all the formatting is a lot nicer:

rake --tasks
sudo gem up rake
rake --tasks

Comments

Weigh in

(HTML tags are stripped, URLs are automatically converted to links)