Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep the sources cached #108

Closed
Sephi-Chan opened this issue Dec 20, 2011 · 3 comments
Closed

Keep the sources cached #108

Sephi-Chan opened this issue Dec 20, 2011 · 3 comments

Comments

@Sephi-Chan
Copy link

Hello,

I tried ruby-build along with rbenv and I like it but I think it would be even better if it was able to cache the source code of a ruby version.

For instance, today I rebuilt my Ruby 1.9.3 many times (the first time, the second time since I din't have zlib, the third time since I didn't have openssl compilation option) and the download step is quite long and useless. I would be glad to have some cache directory in .rbenv to shorten this step.

What do you think about that? Can I help?

@jeremy
Copy link
Member

jeremy commented Dec 20, 2011

It'd be helpful to hang on to the tarball / git clone until it's successfully installed, but that requires significantly reworking the internals.

Life is very simple now because the entire build process is sandboxed to one temp dir, no external paths, so cleanup means just deleting that dir.

So: I'm not sure the complexity is worth it (but I'd love to be wrong about that)

@Sephi-Chan
Copy link
Author

So bad… :(

I had to compile Ruby again to add readline compilation option.
No easier/shorter way than recompiling Ruby for this kind of stuff?

@sstephenson
Copy link
Contributor

Let's move the conversation over to #143. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants