Folder USER/src - can be deleted safely? #436
|
Hi ruby-install experts, I've installed ruby 3.1.2 with install-ruby via homebrew. The installation failed twice just as described here: #430, before I found a solution (ruby-install ruby -- --enable-shared, it's a M1 Mac). There's a "src" folder now in my user folder with an unpacked ruby source and a ruby source tar. /Users//src/ruby-3.1.2/.. Can I safely delete those or is there a built in way to clean up the presumably temporary files? Best regards |
Answered by
postmodern
Nov 14, 2022
Replies: 2 comments 1 reply
|
You technically can delete them, however there are reasons why it's a good idea to keep it around.
|
1 reply
Answer selected by
xdeama
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You technically can delete them, however there are reasons why it's a good idea to keep it around.
rubysegfault usinggdb,gdbcan print the actual lines of the source code where the crash is occurring by reading them from the source files. If the source code which ruby was compiled from is deleted,gdbwill only print the filename/line number.