fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.08k stars 111 forks source link

[Feature request] Cache RVM, rbenv and NVM #103

Closed LimeBlast closed 10 years ago

LimeBlast commented 10 years ago

I just wanted to put forward the suggestion of adding caching support for RVM, rbenv and NVM.

This plugin has already saved me tons of time with provisioning, but due to the way we install Ruby and node, provisioning always takes longer than it should.

Thank you :)

fgrehm commented 10 years ago

RVM is already supported but it has a few quirks that I don't know how to improve.

I'm up for supporting rbenv and NVM but I'd need some help. I did my best to put enough information over here and it would be awesome if you or someone else could gather that info for us :smiley:

fgrehm commented 10 years ago

Oh, and on the meantime, if you figure out what are the right folders we should cache, you can use the generic bucket while we don't provide automatic detection for it ;-)

LimeBlast commented 10 years ago

Thank you for the info. A lot of this is way over my head if I'm honest, but I'll have a play around and see what I can come up with. Can't promise anything however. :)

cromulus commented 10 years ago

Rvm caching is tough, like npm and the like. If they are installed via provisioning, AFAIK, we can't autodetect them and cache them. If rvm is part of the basebox, then caching works as expected.

sent on the move

On May 7, 2014 3:44 AM, "Daniel Hollands" notifications@github.com wrote:

Thank you for the info. A lot of this is way over my head if I'm honest, but I'll have a play around and see what I can come up with. Can't promise anything however. :)

— Reply to this email directly or view it on GitHubhttps://github.com/fgrehm/vagrant-cachier/issues/103#issuecomment-42398242 .

fgrehm commented 10 years ago

Looks like this is not an actionable issue, if someone is up to put up a PR for the proposed cache buckets we can look into merging it into the plugin ;-)

ghost commented 9 years ago

I remember implementing a rough rbenv caching mechanism for my vagrant workflow at my last job... I would be happy to take a crack at it. Will try to put a PR together over the next couple days.

Thanks for all your work on this project! Really appreciate all your effort with documentation, etc.

fgrehm commented 9 years ago

I remember implementing a rough rbenv caching mechanism for my vagrant workflow at my last job... I would be happy to take a crack at it. Will try to put a PR together over the next couple days.

Cool, looking forward to that!

Thanks for all your work on this project! Really appreciate all your effort with documentation, etc.

Thanks for the nice words :-)