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

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:

http://railscasts.com/episodes/201-bundler

Lastly, the documentation is always helpful:

a) $ bundle help

b) http://github.com/carlhuda/bundler

Good luck,

-Conrad