On Jan 11, 2:52 pm, Colin Law <clan...@googlemail.com> wrote:

> So the question is, what is the difference between
> bundle pack
> and
> bundle install --path vendor/cache
>
> Colin

I found the pack command in "Agile Web Development with Rails", fourth
edition on page 235.  I stumbled across the install command while
researching this issue on the web.

Looking into this I see one big difference:

$ bundle install --path vendor/cache

installs all of ruby in the directory vendor/cache/ruby!  It also
creates a file .bundle/config containing:

$ cat .bundle/config
---
BUNDLE_PATH: vendor/cache
BUNDLE_DISABLE_SHARED_GEMS: "1"

I guess I'd rather not have a fresh copy of ruby with each
application, so I'm back to my original problem - how to get passenger
and capistrano to set things up so that the gems in vendor/cache are
used.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to