Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

bundler cache bucket #42

Closed
tknerr opened this issue Aug 13, 2013 · 5 comments
Closed

bundler cache bucket #42

tknerr opened this issue Aug 13, 2013 · 5 comments

Comments

@tknerr
Copy link

tknerr commented Aug 13, 2013

Not sure if this should be handled by the gem cache bucket already, but when I use bundle install --deployment (which installs the gems to vendor/bundle) the gems are not cached and re-downloaded everytime

@fgrehm
Copy link
Owner

fgrehm commented Aug 13, 2013

@tknerr if you really need to use --deployment I think you are probably better using "vanilla" shared folders, I can't see how we can fit that use case from the plugin.
regarding the gem bucket, it only handles the system-wide / user specific gems dir based on running gem env gemdir

@tknerr
Copy link
Author

tknerr commented Aug 13, 2013

@fgrehm guess I have to -- at least the installation instructions for gitlab tell me to do so ;-)

It's a rails app, and vendoring via 'bundle install --deployment' seem to be a common thing there. Hmmmm, could I just 'bundle install' to install to the system wide gem dir and then create a 'bundle/vendor' symlink?? :-)

@fgrehm
Copy link
Owner

fgrehm commented Aug 13, 2013

@tknerr I personally only use --deployment when I'm deploying :P during vagrant usage / development I just run bundle install with no --deployment. The symlink might do the trick but I'd probably use something like #4 and I'm leaning towards closing this issue in favor of that. wdyt?

@tknerr
Copy link
Author

tknerr commented Aug 13, 2013

@fgrehm yep, close it, #4 looks perfect 👍

@fgrehm
Copy link
Owner

fgrehm commented Aug 13, 2013

Cool :)

@fgrehm fgrehm closed this as completed Aug 13, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants