Question about Bundler

Trying to understand how to think of Bundler in terms of what I
already know about using rubygems in Rails up until now.

Am I right in thinking that “bundler install” does the same thing that
“raks gems:install” did before?

If so, are are bundler equivalents for:

  1. rake gems:unpack:dependencies
  2. rake rails:freeze:gems

Thanks!
Jeff

On Sat, Feb 20, 2010 at 11:05 AM, Jeff [email protected] wrote:

Trying to understand how to think of Bundler in terms of what I
already know about using rubygems in Rails up until now.

Am I right in thinking that “bundler install” does the same thing that
“raks gems:install” did before?

Yes, that’s correct.

If so, are are bundler equivalents for:

  1. rake gems:unpack:dependencies

bundle pack

Note: the above command is a bit more efficient because if you have 2
or
more applications on the same server. Then it will look into the
bundler
cache first. Otherwise, Bundler will install it into the cache.

  1. rake rails:freeze:gems

bundle lock

Next, I would recommend taking a look at the following screen-cast by
Ryan
Bates because it covers all of the above:

Lastly, the documentation is always helpful:

a) $ bundle help

b) GitHub - rubygems/bundler: Manage your Ruby application's gem dependencies

Good luck,

-Conrad