Truffleruby cannot build #1911
-
Steps to reproduce the behaviorExpected vs. actual behaviorShould install like other ruby interpreters, but does not. LogsEven 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-buildissue. It was introduced here: #1784It's not inherent to the core of
ruby-buildbut is due to code meant to preventruby-buildfrom deleting/usr/localor other sorts of FHS-compliant install locations, which TruffleRuby doesn't support: truffleruby/truffleruby#1389The problem with the existing method of detecting these installs is that it's too general and conflicts with the way
asdfinstall works. This line is run to make the directory just before the plugin (which in this case isasdf-rubywhich 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 a…