Truffleruby cannot build #1911
-
Steps to reproduce the behavior
Expected vs. actual behaviorShould install like other ruby interpreters, but does not. Logs
Even if I remove |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Bypassed asdf and ran ruby-build direct and it worked fine, so not a ruby-build issue |
Beta Was this translation helpful? Give feedback.
-
This is actually a It's not inherent to the core of The problem with the existing method of detecting these installs is that it's too general and conflicts with the way It seems to me that the check should explicitly be for FHS paths rather than just existing directories, or at least they should explicitly allow existing paths with |
Beta Was this translation helpful? Give feedback.
This is actually a
ruby-build
issue. It was introduced here: #1784It's not inherent to the core of
ruby-build
but is due to code meant to preventruby-build
from deleting/usr/local
or other sorts of FHS-compliant install locations, which TruffleRuby doesn't support: oracle/truffleruby#1389The problem with the existing method of detecting these installs is that it's too general and conflicts with the way
asdf
install works. This line is run to make the directory just before the plugin (which in this case isasdf-ruby
which then callsruby-build
) gets to run. These install directories are a core part of how asdf (a set of bash scripts) tracks what's installed and what versions are availa…