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

RVM cleanup all does not remove .git directories #1239

Closed
michaelklishin opened this Issue Oct 17, 2012 · 4 comments

Comments

Projects
None yet
2 participants
@michaelklishin

michaelklishin commented Oct 17, 2012

I've just noticed that jruby-head and other installations of JRuby built from source take up several hundreds of MBs of disk space. It turns out, rvm cleanup all no longer removes ~/.rvm/rubies/jruby-head/.git. I believe it used to (and I think it should).

@michaelklishin

This comment has been minimized.

michaelklishin commented Oct 17, 2012

If this does not sound like a good idea to @mpapis, here is a one liner anyone can use to redeem disk space when you have many Ruby installations

find ~/.rvm/rubies/ -type d -name .git -print | xargs /bin/rm -rf
@mpapis

This comment has been minimized.

Member

mpapis commented Oct 17, 2012

this one should not be there, It should be cleaned during installation

@michaelklishin

This comment has been minimized.

michaelklishin commented Oct 18, 2012

This issue is a serious pain point for travis-ci. We run out of ~ partition disk space after the recent upgrade to latest-1.16 every other provisioning.

michaelklishin added a commit to travis-ci/travis-cookbooks that referenced this issue Oct 18, 2012

Try latest-1.15
With latest-1.16 we experience excessive disk space usage,
filed as rvm/rvm#1239

@mpapis mpapis closed this in 1a6aa7e Oct 18, 2012

@mpapis

This comment has been minimized.

Member

mpapis commented Oct 18, 2012

scheduled for 1.16.15

@mpapis mpapis reopened this Oct 18, 2012

@ghost ghost assigned mpapis Oct 18, 2012

@mpapis mpapis closed this in 990bcfb Oct 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment