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:
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.
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: